commit
a75d0ba8d7
7 changed files with 37 additions and 14 deletions
@ -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 %{${fg_bold[red]}%}:: %{${fg[green]}%}%3~%(0?. . ${fg[red]}%? )%{${fg[blue]}%}»%{${reset_color}%} " |
||||
@ -0,0 +1,7 @@ |
||||
PROMPT='$(git_prompt_info)%(?,,%{${fg_bold[white]}%}[%?]%{$reset_color%} )%{$fg[yellow]%}%#%{$reset_color%} ' |
||||
RPROMPT='%{$fg[green]%}%~%{$reset_color%}' |
||||
|
||||
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[blue]%}(" |
||||
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%} " |
||||
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%})%{$fg[red]%}⚡%{$reset_color%}" |
||||
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%})" |
||||
@ -0,0 +1,6 @@ |
||||
# user, host, full path, and time/date |
||||
# on two lines for easier vgrepping |
||||
# entry in a nice long thread on the Arch Linux forums: http://bbs.archlinux.org/viewtopic.php?pid=521888#p521888 |
||||
PROMPT=$'%{\e[0;34m%}%B┌─[%b%{\e[0m%}%{\e[1;32m%}%n%{\e[1;30m%}@%{\e[0m%}%{\e[0;36m%}%m%{\e[0;34m%}%B]%b%{\e[0m%} - %b%{\e[0;34m%}%B[%b%{\e[1;37m%}%~%{\e[0;34m%}%B]%b%{\e[0m%} - %{\e[0;34m%}%B[%b%{\e[0;33m%}'%D{"%a %b %d, %I:%M"}%b$'%{\e[0;34m%}%B]%b%{\e[0m%} |
||||
%{\e[0;34m%}%B└─%B[%{\e[1;35m%}$%{\e[0;34m%}%B]>%{\e[0m%}%b ' |
||||
PS2=$' \e[0;34m%}%B>%{\e[0m%}%b ' |
||||
Loading…
Reference in new issue