Skip to content

Commit e651348

Browse files
committed
refactor(known_hosts_real): clean up old IFS/noglob workarounds
1 parent 9691f09 commit e651348

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

bash_completion

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2398,9 +2398,6 @@ _known_hosts_real()
23982398
done
23992399
fi
24002400

2401-
local IFS=$' \t\n' reset=$(shopt -po noglob)
2402-
set -o noglob
2403-
24042401
# "Include" keyword in ssh config files
24052402
if ((${#config[@]} > 0)); then
24062403
for i in "${config[@]}"; do
@@ -2530,8 +2527,6 @@ _known_hosts_real()
25302527
_comp_compgen -a -- -A hostname -P "$prefix" -S "$suffix"
25312528
fi
25322529

2533-
$reset
2534-
25352530
if ((${#COMPREPLY[@]})); then
25362531
if [[ $ipv4 ]]; then
25372532
COMPREPLY=("${COMPREPLY[@]/*:*$suffix/}")

0 commit comments

Comments
 (0)