Skip to content

Commit 58c97f6

Browse files
favoniaumarcor
authored andcommitted
Fix typo in bash_completions.go and zsh_completions.go (spf13#1459)
1 parent bd39a05 commit 58c97f6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bash_completions.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ __%[1]s_handle_go_custom_completion()
134134
$filteringCmd
135135
elif [ $((directive & shellCompDirectiveFilterDirs)) -ne 0 ]; then
136136
# File completion for directories only
137-
local subDir
137+
local subdir
138138
# Use printf to strip any trailing newline
139139
subdir=$(printf "%%s" "${out[0]}")
140140
if [ -n "$subdir" ]; then

zsh_completions.go

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

0 commit comments

Comments
 (0)