summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRobby Russell <robby@planetargon.com>2012-01-01 09:19:40 -0800
committerRobby Russell <robby@planetargon.com>2012-01-01 09:19:40 -0800
commit5516f8c42b8ef05e1ae8e8f839c251063ce7804b (patch)
treee1ebcf32feb98e9b21ac2860b47c22abccc0c25c /lib
parent3e9493fb301b7d34bb6861787d97067ec9365268 (diff)
parentcb501645d70ad1e50b6b3d3553618e585074533f (diff)
downloadzsh-5516f8c42b8ef05e1ae8e8f839c251063ce7804b.tar.gz
zsh-5516f8c42b8ef05e1ae8e8f839c251063ce7804b.tar.bz2
zsh-5516f8c42b8ef05e1ae8e8f839c251063ce7804b.zip
Merge pull request #790 from cicloid/master
Getting the hostname, correctly everywhere.
Diffstat (limited to 'lib')
-rw-r--r--lib/completion.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/completion.zsh b/lib/completion.zsh
index 0e5d480ff..b964595ed 100644
--- a/lib/completion.zsh
+++ b/lib/completion.zsh
@@ -39,7 +39,7 @@ hosts=(
"$_global_ssh_hosts[@]"
"$_ssh_hosts[@]"
"$_etc_hosts[@]"
- `hostname`
+ "$HOST"
localhost
)
zstyle ':completion:*:hosts' hosts $hosts