mirror of
https://github.com/spf13/cobra
synced 2025-05-05 12:57:22 +00:00
Also fix the same typo in zsh_completions.go
This commit is contained in:
parent
5f584a0a02
commit
b725185a2a
1 changed files with 1 additions and 1 deletions
|
@ -202,7 +202,7 @@ _%[1]s()
|
|||
_arguments '*:filename:'"$filteringCmd"
|
||||
elif [ $((directive & shellCompDirectiveFilterDirs)) -ne 0 ]; then
|
||||
# File completion for directories only
|
||||
local subDir
|
||||
local subdir
|
||||
subdir="${completions[1]}"
|
||||
if [ -n "$subdir" ]; then
|
||||
__%[1]s_debug "Listing directories in $subdir"
|
||||
|
|
Loading…
Add table
Reference in a new issue