Skip to content

Commit b71340b

Browse files
scopakinomyoga
andcommitted
fix(ssh-keygen): make work with custom IFS
Co-authored-by: Koichi Murase <[email protected]>
1 parent 18e436d commit b71340b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

completions/ssh-keygen

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ _comp_cmd_ssh_keygen()
55
local cur prev words cword comp_args
66
_comp_initialize -n := -- "$@" || return
77

8+
local IFS=$' \t\n' # for ${words[*]}
89
local noargopts='!(-*|*[ aCIJjMNPSVWzbEFRDwfGKsTmnOrtY]*)'
910
# shellcheck disable=SC2254
1011
case $prev in

0 commit comments

Comments
 (0)