2009-10-03 17:34:49 +00:00
|
|
|
# Based on evan's prompt
|
|
|
|
# Shows the exit status of the last command if non-zero
|
|
|
|
# Uses "#" instead of "»" when running with elevated privileges
|
2015-08-17 04:36:32 +00:00
|
|
|
PROMPT="%m %{${fg_bold[red]}%}:: %{${fg[green]}%}%3~%(0?. . %{${fg[red]}%}%? )%{${fg[blue]}%}»%{${reset_color}%} "
|