Skip to content
Snippets Groups Projects
Commit 43fe736b authored by Brad King's avatar Brad King Committed by Kitware Robot
Browse files

Merge topic 'bash-completion-silent-D-lookup'


64aeb520 bash-completion: silent cmake -D lookup

Acked-by: default avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !3692
parents ee692e8f 64aeb520
No related branches found
No related tags found
No related merge requests found
......@@ -76,8 +76,8 @@ _cmake()
compopt -o nospace
else
# complete variable names
COMPREPLY=( $( compgen -W '$( cmake -LA -N | tail -n +2 |
cut -f1 -d: )' -P "$prefix" -- "$cur" ) )
COMPREPLY=( $( compgen -W '$( cmake -LA -N 2>/dev/null |
tail -n +2 | cut -f1 -d: )' -P "$prefix" -- "$cur" ) )
compopt -o nospace
fi
return
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment