mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-20 03:02:29 +01:00
Add svn support to miloshadzic
This commit is contained in:
parent
5728a5608d
commit
986e8cc2b2
1 changed files with 11 additions and 5 deletions
|
|
@ -1,8 +1,14 @@
|
|||
# Yay! High voltage and arrows!
|
||||
# The svn plugin has to be activated for displaying svn prompts
|
||||
|
||||
ZSH_THEME_GIT_PROMPT_PREFIX="%{$reset_color%}%{$fg[green]%}"
|
||||
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%} "
|
||||
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[yellow]%}⚡%{$reset_color%}"
|
||||
ZSH_THEME_GIT_PROMPT_CLEAN=""
|
||||
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[green]%}"
|
||||
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
|
||||
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[yellow]%}⚡ %{$reset_color%}"
|
||||
ZSH_THEME_GIT_PROMPT_CLEAN=" "
|
||||
|
||||
PROMPT='%{$fg[cyan]%}%1~%{$reset_color%}%{$fg[red]%}|%{$reset_color%}$(git_prompt_info)%{$fg[cyan]%}⇒%{$reset_color%} '
|
||||
ZSH_THEME_SVN_PROMPT_PREFIX="%{$fg[green]%}"
|
||||
ZSH_THEME_SVN_PROMPT_SUFFIX="%{$reset_color%}"
|
||||
ZSH_THEME_SVN_PROMPT_DIRTY="%{$fg[yellow]%}⚡ %{$reset_color%}"
|
||||
ZSH_THEME_SVN_PROMPT_CLEAN=" "
|
||||
|
||||
PROMPT='%{$fg[cyan]%}%1~%{$reset_color%}%{$fg[red]%}|%{$reset_color%}$(git_prompt_info)$(svn_prompt_info)%{$fg[cyan]%}⇒%{$reset_color%} '
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue