Browse code

Get the Hostname

Main library should use ZSH native hostname function

Gustavo Barron authored on 30/12/2011 at 18:11:41
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