zcsf: fix bash completion on -
This commit is contained in:
parent
c7330f60f0
commit
a9992d2877
1 changed files with 1 additions and 1 deletions
|
|
@ -9,7 +9,7 @@ _zcsf_completion()
|
|||
|
||||
if [ "$COMP_CWORD" = "1" ] ; then # operations
|
||||
_compwords=$_cw1
|
||||
elif [ "$COMP_CWORD" -gt "1" ] && echo "$_cw1_ls" | grep -qw "${COMP_WORDS[1]}" ; then # src files
|
||||
elif [ "$COMP_CWORD" -gt "1" ] && echo "$_cw1_ls" | grep -qw -- "${COMP_WORDS[1]}"; then # src files
|
||||
_compwords=$(zcsf ls 2>/dev/null)
|
||||
elif [ "$COMP_CWORD" = "2" ] && [ "${COMP_WORDS[1]}" = "make" ] ; then # make type
|
||||
_compwords=$_make_types
|
||||
|
|
|
|||
Loading…
Reference in a new issue