Also fix the same typo in zsh_completions.go

This commit is contained in:
favonia 2021-07-18 19:12:02 -05:00
parent 5f584a0a02
commit b725185a2a

View file

@ -202,7 +202,7 @@ _%[1]s()
_arguments '*:filename:'"$filteringCmd" _arguments '*:filename:'"$filteringCmd"
elif [ $((directive & shellCompDirectiveFilterDirs)) -ne 0 ]; then elif [ $((directive & shellCompDirectiveFilterDirs)) -ne 0 ]; then
# File completion for directories only # File completion for directories only
local subDir local subdir
subdir="${completions[1]}" subdir="${completions[1]}"
if [ -n "$subdir" ]; then if [ -n "$subdir" ]; then
__%[1]s_debug "Listing directories in $subdir" __%[1]s_debug "Listing directories in $subdir"