$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.

BashSupport Pro is a Zsh IDE with support for $HOSTtry it now!
© 2020–2024 Joachim Ansorg
Imprint
Privacy Policy
Legal