]> git.rmz.io Git - dotfiles.git/blob - zsh/themes/tjkirch_mod.zsh-theme
1b206a7e1f85e4a0b0d6fa208914a8f2c62dda3c
[dotfiles.git] / zsh / themes / tjkirch_mod.zsh-theme
1 ZSH_THEME_GIT_PROMPT_PREFIX=" %{$fg[green]%}"
2 ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
3 ZSH_THEME_GIT_PROMPT_DIRTY=" %{$fg[red]%}⚡"
4 ZSH_THEME_GIT_PROMPT_CLEAN=""
5
6 function prompt_char {
7 if [ $UID -eq 0 ]; then echo "%{$fg[red]%}#%{$reset_color%}"; else echo $; fi
8 }
9
10 PROMPT='%(?,,%{$fg[red]%}FAIL: $?%{$reset_color%}
11 )%{$fg[magenta]%}%n%{$reset_color%}@%{$fg[yellow]%}%m%{$reset_color%}: %{$fg_bold[blue]%}%~%{$reset_color%}$(git_prompt_info) %_$(prompt_char) '
12
13 RPROMPT='%{$fg[green]%}[%*]%{$reset_color%}'