Skip to content

Commit 65e1753

Browse files
committed
fix(_known_hosts): work around localvar_inherit
1 parent 73dc505 commit 65e1753

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bash_completion

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1943,7 +1943,7 @@ _known_hosts()
19431943

19441944
# NOTE: Using `_known_hosts' as a helper function and passing options
19451945
# to `_known_hosts' is deprecated: Use `_known_hosts_real' instead.
1946-
local options
1946+
local options=
19471947
[[ ${1-} == -a || ${2-} == -a ]] && options=-a
19481948
[[ ${1-} == -c || ${2-} == -c ]] && options+=" -c"
19491949
# shellcheck disable=SC2086

0 commit comments

Comments
 (0)