Encode the hostname into the prompt