diff options
author | Igor Murzov <e-mail@date.by> | 2011-11-05 19:51:07 +0300 |
---|---|---|
committer | Igor Murzov <e-mail@date.by> | 2011-11-05 19:51:07 +0300 |
commit | bc2d3c9a34a276a53baa6e836b0e171f56a1d97a (patch) | |
tree | bc4f3ecf6738ea5e5fca57d29fbe898494b51a1b | |
parent | 74d80d17f9ffa641ee184f73da058155a58f3d4b (diff) | |
download | bash-completion-bc2d3c9a34a276a53baa6e836b0e171f56a1d97a.tar.gz |
_known_hosts_real: Replace "${HOME}" with "~" to make code more compact.
-rw-r--r-- | bash_completion | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bash_completion b/bash_completion index e563b05b..1ef70305 100644 --- a/bash_completion +++ b/bash_completion @@ -1355,8 +1355,7 @@ _known_hosts_real() [ -r "$configfile" ] && config+=( "$configfile" ) else - for i in /etc/ssh/ssh_config "${HOME}/.ssh/config" \ - "${HOME}/.ssh2/config"; do + for i in /etc/ssh/ssh_config ~/.ssh/config ~/.ssh2/config; do [ -r "$i" ] && config+=( "$i" ) done fi |