Skip to content

Commit 470a644

Browse files
akinomyogascop
andcommitted
fix(known_hosts_real): match *.pub instead of *pub
Co-authored-by: Ville Skyttä <[email protected]>
1 parent e651348 commit 470a644

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
@@ -2440,7 +2440,7 @@ _known_hosts_real()
24402440
done
24412441
for i in /etc/ssh2/knownhosts ~/.ssh2/hostkeys; do
24422442
[[ -d $i ]] || continue
2443-
_comp_expand_glob tmpkh '"$i"/*pub'
2443+
_comp_expand_glob tmpkh '"$i"/*.pub'
24442444
((${#tmpkh[@]})) && khd+=("${tmpkh[@]}")
24452445
done
24462446
fi

0 commit comments

Comments
 (0)