Skip to content

Commit b2c6d9a

Browse files
committed
fix(_known_hosts): work around localvar_inherit
1 parent b27c380 commit b2c6d9a

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
@@ -1816,7 +1816,7 @@ _known_hosts()
18161816

18171817
# NOTE: Using `_known_hosts' as a helper function and passing options
18181818
# to `_known_hosts' is deprecated: Use `_known_hosts_real' instead.
1819-
local options
1819+
local options=""
18201820
[[ ${1-} == -a || ${2-} == -a ]] && options=-a
18211821
[[ ${1-} == -c || ${2-} == -c ]] && options+=" -c"
18221822
# shellcheck disable=SC2086

0 commit comments

Comments
 (0)