mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-18 18:31:59 +00:00
5 lines
235 B
Text
5 lines
235 B
Text
|
# Based on evan's prompt
|
||
|
# Shows the exit status of the last command if non-zero
|
||
|
# Uses "#" instead of "»" when running with elevated privileges
|
||
|
PROMPT="%m %B%F{red}::%b %B%F{green}%3~%(0?. . %F{red}%? )%F{red}%(0!.#.»)%b%F{white} "
|