Skip to content

Commit b9680a7

Browse files
committed
fix(ssh): work around localvar_inherit
1 parent e48ef79 commit b9680a7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

completions/ssh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ _comp_cmd_ssh()
302302

303303
_comp_cmd_ssh__compgen_suboption_check "$1" && return
304304

305-
local ipvx
305+
local ipvx=
306306

307307
# Keep cases sorted the same they're in ssh's usage message
308308
# (but do group ones with same arg completion)
@@ -584,7 +584,7 @@ _comp_cmd_scp()
584584
return
585585
}
586586

587-
local ipvx
587+
local ipvx=
588588

589589
case $prev in
590590
-*c)
@@ -636,7 +636,7 @@ _comp_cmd_scp()
636636
;;
637637
esac
638638

639-
local prefix
639+
local prefix=
640640

641641
if [[ $cur == -F* ]]; then
642642
cur=${cur#-F}

0 commit comments

Comments
 (0)