]> git.rmz.io Git - dotfiles.git/blob - zsh/themes/zhann.zsh-theme
update zshrc
[dotfiles.git] / zsh / themes / zhann.zsh-theme
1 PROMPT='%{$fg_bold[green]%}%p %{$fg[cyan]%}%c%{$fg_bold[blue]%}$(git_prompt_info)%{$fg_bold[blue]%} % %{$reset_color%}'
2
3 if which rvm-prompt &> /dev/null; then
4 RPROMPT='%{$reset_color%} %{$fg[red]%}$(~/.rvm/bin/rvm-prompt i v g) %{$reset_color%}'
5 else
6 if which rbenv &> /dev/null; then
7 RPROMPT='%{$reset_color%} %{$fg[red]%}$(rbenv version | sed -e "s/ (set.*$//") %{$reset_color%}'
8 fi
9 fi
10
11
12 ZSH_THEME_GIT_PROMPT_PREFIX=" (%{$fg[red]%}"
13 ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
14 ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}) %{$fg[yellow]%}✗%{$reset_color%}"
15 ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%})"