Browse code

Merge pull request #790 from cicloid/master

Getting the hostname, correctly everywhere.

Robby Russell authored on 01/01/2012 at 17:19:40
Showing 1 changed files
... ...
@@ -39,7 +39,7 @@ hosts=(
39 39
   "$_global_ssh_hosts[@]"
40 40
   "$_ssh_hosts[@]"
41 41
   "$_etc_hosts[@]"
42
-  `hostname`
42
+  "$HOST"
43 43
   localhost
44 44
 )
45 45
 zstyle ':completion:*:hosts' hosts $hosts