14 lines
366 B
Plaintext
14 lines
366 B
Plaintext
# Based on evan's prompt
|
|
# Shows the exit status of the last command if non-zero
|
|
# Uses "#" instead of "»" when running with elevated privileges
|
|
#case $TERM in
|
|
# xterm*|rxvt|eterm)
|
|
PROMPT="%{$fg[yellow]%}%n@%m %{$fg_bold[green]%}%~ : %{$reset_color%}"
|
|
# ;;
|
|
# screen)
|
|
# PROMPT="%{$fg[yellow]%}%n@%m %{$fg_bold[green]%}: %{$reset_color%}"
|
|
# ;;
|
|
#esac
|
|
|
|
|