We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 59d2322 commit f1f5bf8Copy full SHA for f1f5bf8
bash_completion
@@ -708,7 +708,7 @@ _comp_delimited()
708
existing=($cur)
709
# Do not remove the last from existing if it's not followed by the
710
# delimiter so we get space appended.
711
- [[ $cur == *"$delimiter" ]] || unset "existing[${#existing[@]}-1]"
+ [[ ! $cur || $cur == *"$delimiter" ]] || unset "existing[${#existing[@]}-1]"
712
IFS=$ifs
713
for x in ${existing+"${existing[@]}"}; do
714
for i in "${!COMPREPLY[@]}"; do
0 commit comments