# 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