5516f8c42b8ef05e1ae8e8f839c251063ce7804b

Author
Robby Russell <robby@planetargon.com>
Committer
Robby Russell <robby@planetargon.com>
Date

Message

Merge pull request #790 from cicloid/master

Getting the hostname, correctly everywhere.

Diff

 1diff --git a/lib/completion.zsh b/lib/completion.zsh
 2index 0e5d480ff4923f147ac2355504f16f068116c720..b964595edfbaec82a87a7b44c1c3b2088dbd3a69 100644
 3--- a/lib/completion.zsh
 4+++ b/lib/completion.zsh
 5@@ -39,7 +39,7 @@ hosts=(
 6   "$_global_ssh_hosts[@]"
 7   "$_ssh_hosts[@]"
 8   "$_etc_hosts[@]"
 9-  `hostname`
10+  "$HOST"
11   localhost
12 )
13 zstyle ':completion:*:hosts' hosts $hosts