mirror of
https://git.adityakumar.xyz/config.git
synced 2024-11-22 07:52:53 +00:00
4 lines
262 B
Bash
4 lines
262 B
Bash
# 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 %{${fg_bold[red]}%}:: %{${fg[green]}%}%3~%(0?. . %{${fg[red]}%}%? )%{${fg[blue]}%}»%{${reset_color}%} "
|