$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 是一款支持 host** 的 **Zsh 集成开发环境 - 立即试用!