Browse code

Fix cypher's theme for older zsh versions

Markus Prinz authored on 06/10/2009 at 21:19:43
Showing 1 changed files
... ...
@@ -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}%} "