diff options
author | Gustavo Barron <cicloid@42fu.com> | 2011-12-30 12:11:41 -0600 |
---|---|---|
committer | Gustavo Barron <cicloid@42fu.com> | 2011-12-30 12:11:41 -0600 |
commit | cb501645d70ad1e50b6b3d3553618e585074533f (patch) | |
tree | e1ebcf32feb98e9b21ac2860b47c22abccc0c25c | |
parent | 3e9493fb301b7d34bb6861787d97067ec9365268 (diff) | |
download | zsh-cb501645d70ad1e50b6b3d3553618e585074533f.tar.gz zsh-cb501645d70ad1e50b6b3d3553618e585074533f.tar.bz2 zsh-cb501645d70ad1e50b6b3d3553618e585074533f.zip |
Get the Hostname
Main library should use ZSH native hostname function
-rw-r--r-- | lib/completion.zsh | 2 |
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 |