1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-23 02:38:23 +08:00
ohmyzsh/themes/cypher.zsh-theme
2009-10-06 23:19:43 +02:00

5 lines
258 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}%} "