diff options
-rw-r--r-- | bash_completion | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bash_completion b/bash_completion index c5cd7c95..e563b05b 100644 --- a/bash_completion +++ b/bash_completion @@ -1357,7 +1357,7 @@ _known_hosts_real() else for i in /etc/ssh/ssh_config "${HOME}/.ssh/config" \ "${HOME}/.ssh2/config"; do - [ -r $i ] && config+=( "$i" ) + [ -r "$i" ] && config+=( "$i" ) done fi @@ -1385,10 +1385,10 @@ _known_hosts_real() for i in /etc/ssh/ssh_known_hosts /etc/ssh/ssh_known_hosts2 \ /etc/known_hosts /etc/known_hosts2 ~/.ssh/known_hosts \ ~/.ssh/known_hosts2; do - [ -r $i ] && kh+=( $i ) + [ -r "$i" ] && kh+=( "$i" ) done for i in /etc/ssh2/knownhosts ~/.ssh2/hostkeys; do - [ -d $i ] && khd+=( $i/*pub ) + [ -d "$i" ] && khd+=( "$i"/*pub ) done fi |