Commit 43fe736b authored by Brad King's avatar Brad King Committed by Kitware Robot

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

64aeb520 bash-completion: silent cmake -D lookup
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !3692
parents ee692e8f 64aeb520
Pipeline #144290 passed with stage
in 0 seconds
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment