Skip to content

Commit 612c891

Browse files
committed
fix(strings): work around nounset
1 parent 27adc3e commit 612c891

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

completions/strings

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ _comp_cmd_strings()
3838
[[ ${COMPREPLY-} == *= ]] && compopt -o nospace
3939
return
4040
elif [[ $cur == @* ]]; then
41-
_comp_compgen -c "${cur:1}" filedir
42-
COMPREPLY=("${COMPREPLY[@]/#/@}")
41+
_comp_compgen -c "${cur:1}" filedir &&
42+
COMPREPLY=("${COMPREPLY[@]/#/@}")
4343
return
4444
fi
4545

0 commit comments

Comments
 (0)