Replace hostname with zsh function