From 41034aa96c8946ec2b5d8acacc7f5f37724f74f1 Mon Sep 17 00:00:00 2001 From: Connor Olding Date: Fri, 19 May 2017 04:05:53 +0000 Subject: [PATCH] update hosts --- home/zshrc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/home/zshrc b/home/zshrc index 206d9bc..ba637ae 100644 --- a/home/zshrc +++ b/home/zshrc @@ -150,9 +150,10 @@ fi # note: zsh adds a % symbol to newline-less output, so bash prompt is overkill function { local good='green' - [[ "${(L)HOST}" == "banshee" ]] && good='cyan' - [[ "${(L)HOST}" == "spectre" ]] && good='white' - [[ "${(L)HOST}" == "wraith" ]] && good='yellow' + local host="${(L)HOST}" + [[ "$host" == "neobanshee" ]] && good='cyan' + [[ "$host" == "spectre" ]] && good='white' + [[ "$host" == "wraith" ]] && good='yellow' PROMPT='%{'$'\e''[10m%}%b%(?.%K{'"$good"'}.%K{red})%15F%#%f%k ' RPROMPT='%8F%h%b' }