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