Update amuse.zsh-theme
Add support of Subversion plug-in in prompt line
This commit is contained in:
parent
d848c94804
commit
ab4af91540
@ -9,7 +9,7 @@ rbenv_version() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
PROMPT='
|
PROMPT='
|
||||||
%{$fg_bold[green]%}${PWD/#$HOME/~}%{$reset_color%}$(git_prompt_info) ⌚ %{$fg_bold[red]%}%*%{$reset_color%}
|
%{$fg_bold[green]%}${PWD/#$HOME/~}%{$reset_color%}$(git_prompt_info)$(svn_prompt_info) ⌚ %{$fg_bold[red]%}%*%{$reset_color%}
|
||||||
$ '
|
$ '
|
||||||
|
|
||||||
# Must use Powerline font, for \uE0A0 to render.
|
# Must use Powerline font, for \uE0A0 to render.
|
||||||
@ -19,6 +19,12 @@ ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[red]%}!"
|
|||||||
ZSH_THEME_GIT_PROMPT_UNTRACKED="%{$fg[green]%}?"
|
ZSH_THEME_GIT_PROMPT_UNTRACKED="%{$fg[green]%}?"
|
||||||
ZSH_THEME_GIT_PROMPT_CLEAN=""
|
ZSH_THEME_GIT_PROMPT_CLEAN=""
|
||||||
|
|
||||||
|
ZSH_THEME_SVN_PROMPT_PREFIX=" on %{$fg[magenta]%}\uE0A0 "
|
||||||
|
ZSH_THEME_SVN_PROMPT_SUFFIX="%{$reset_color%}"
|
||||||
|
ZSH_THEME_SVN_PROMPT_DIRTY="%{$fg[red]%}!"
|
||||||
|
ZSH_THEME_SVN_PROMPT_UNTRACKED="%{$fg[green]%}?"
|
||||||
|
ZSH_THEME_SVN_PROMPT_CLEAN=""
|
||||||
|
|
||||||
if [ -e ~/.rvm/bin/rvm-prompt ]; then
|
if [ -e ~/.rvm/bin/rvm-prompt ]; then
|
||||||
RPROMPT='%{$fg_bold[red]%}‹$(rvm_current)›%{$reset_color%}'
|
RPROMPT='%{$fg_bold[red]%}‹$(rvm_current)›%{$reset_color%}'
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user