mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-12 08:50:08 +00:00
Add my (cypher's) zsh prompt
Based on Evan's prompt, it uses colors, shows the exit status of the last command if it was non-zero, and displays "#" when running with elevated privileges
This commit is contained in:
parent
eddab5034c
commit
172bb41830
1 changed files with 4 additions and 0 deletions
4
themes/cypher.zsh-theme
Normal file
4
themes/cypher.zsh-theme
Normal file
|
@ -0,0 +1,4 @@
|
|||
# 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} "
|
Loading…
Reference in a new issue