$HOST
–
Current hostname
$HOST
contains the hostname of the machine, where zsh
is being executed.
It’s similar to Bash’s $HOSTNAME
, which is unavailable in Zsh.
Links
BashSupport Pro is a Zsh IDE with support for $HOST – try it now!