2009-10-03 19:34:49 +02: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
|
2009-10-06 23:19:43 +02:00
|
|
|
PROMPT="%m %{${fg_bold[red]}%}:: %{${fg[green]}%}%3~%(0?. . ${fg[red]}%? )%{${fg[blue]}%}»%{${reset_color}%} "
|