We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cac2724 commit 0a479abCopy full SHA for 0a479ab
bash_completion
@@ -875,10 +875,7 @@ _comp_ltrim_colon_completions()
875
if [[ $1 == *:* && $COMP_WORDBREAKS == *:* ]]; then
876
# Remove colon-word prefix from COMPREPLY items
877
local colon_word=${1%"${1##*:}"}
878
- COMPREPLY=("${COMPREPLY[@]}")
879
- while ((i-- > 0)); do
880
- COMPREPLY[i]=${COMPREPLY[i]#"$colon_word"}
881
- done
+ COMPREPLY=("${COMPREPLY[@]#"$colon_word"}")
882
fi
883
} # _comp_ltrim_colon_completions()
884
0 commit comments