use zsh string functions instead of hostname dns lookup which is sometimes delayed