Merge topic 'bash-completion-fix-E-lookup'
fe7f117a
bash-completion: Fix cmake -E lookup
This commit is contained in:
commit
9bb2faf62a
|
@ -102,7 +102,7 @@ _cmake()
|
|||
;;
|
||||
-E)
|
||||
COMPREPLY=( $( compgen -W "$( cmake -E help |& sed -n \
|
||||
'/^ /{s|^ \([^ ]\{1,\}\) .*$|\1|;p}' 2>/dev/null )" \
|
||||
'/^ [^ ]/{s|^ \([^ ]\{1,\}\) .*$|\1|;p}' 2>/dev/null )" \
|
||||
-- "$cur" ) )
|
||||
return
|
||||
;;
|
||||
|
|
Loading…
Reference in New Issue