... | ... |
@@ -1,4 +1,4 @@ |
1 | 1 |
# Based on evan's prompt |
2 | 2 |
# Shows the exit status of the last command if non-zero |
3 | 3 |
# Uses "#" instead of "»" when running with elevated privileges |
4 |
-PROMPT="%m %B%F{red}::%b %B%F{green}%3~%(0?. . %F{red}%? )%F{red}%(0!.#.»)%b%F{white} " |
|
4 |
+PROMPT="%m %{${fg_bold[red]}%}:: %{${fg[green]}%}%3~%(0?. . ${fg[red]}%? )%{${fg[blue]}%}»%{${reset_color}%} " |