diff options
Diffstat (limited to 'utils/bash-autocomplete.sh')
-rw-r--r-- | utils/bash-autocomplete.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/bash-autocomplete.sh b/utils/bash-autocomplete.sh index 83c168bf76..ed815d2d7a 100644 --- a/utils/bash-autocomplete.sh +++ b/utils/bash-autocomplete.sh @@ -57,7 +57,7 @@ _clang() # expand ~ to $HOME eval local path=${COMP_WORDS[0]} - flags=$( "$path" --autocomplete="$arg" 2>/dev/null ) + flags=$( "$path" --autocomplete="$arg" 2>/dev/null | sed -e 's/\t.*//' ) # If clang is old that it does not support --autocomplete, # fall back to the filename completion. if [[ "$?" != 0 ]]; then |