From bc2d3c9a34a276a53baa6e836b0e171f56a1d97a Mon Sep 17 00:00:00 2001 From: Igor Murzov Date: Sat, 5 Nov 2011 19:51:07 +0300 Subject: _known_hosts_real: Replace "${HOME}" with "~" to make code more compact. --- bash_completion | 3 +-- 1 file changed, 1 insertion(+), 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 -- cgit v1.2.1