Skip to content

Commit

Permalink
fix(wtf): quote array assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
akinomyoga committed Jan 14, 2024
1 parent 58d5176 commit 44c1d12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion completions/wtf
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ _comp_cmd_wtf()
[[ $prev == -f ]] && _comp_compgen_filedir && return
[[ ${words[*]} == *\ -f* ]] && addf= || addf=-f
if [[ $cur == -* ]]; then
COMPREPLY=($addf)
COMPREPLY=(${addf:+"$addf"})
return
fi

Expand Down

0 comments on commit 44c1d12

Please sign in to comment.