mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
Updated risto theme
Makes sure the user knows it needs the svn plugin Improves colors for different git states
This commit is contained in:
parent
746a10368a
commit
b48d3e6a0c
1 changed files with 13 additions and 4 deletions
|
|
@ -1,6 +1,15 @@
|
||||||
# -*- sh -*- vim:set ft=sh ai et sw=4 sts=4:
|
# Risto Theme
|
||||||
# It might be bash like, but I can't have my co-workers knowing I use zsh
|
#
|
||||||
PROMPT='%{$fg[green]%}%n@%m:%{$fg_bold[blue]%}%2~ $(git_prompt_info)%{$reset_color%}%(!.#.$) '
|
# Requires the svn plugin
|
||||||
|
#
|
||||||
|
PROMPT='%{$fg[green]%}%n@%m:%{$fg[blue]%}%2~ $(svn_prompt_info)$(git_prompt_info)%{$reset_color%}%(!.#.%%) '
|
||||||
|
RPROMPT='%{$fg_bold[red]%}$(rvm-prompt)%{$reset_color%}%'
|
||||||
|
|
||||||
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[red]%}‹"
|
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[red]%}‹"
|
||||||
ZSH_THEME_GIT_PROMPT_SUFFIX="›%{$reset_color%}"
|
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$fg[red]%}›%{$reset_color%}"
|
||||||
|
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[green]%}✓"
|
||||||
|
ZSH_THEME_GIT_PROMPT_UNTRACKED="%{$fg[yellow]%}∗"
|
||||||
|
ZSH_THEME_GIT_PROMPT_CLEAN=""
|
||||||
|
ZSH_THEME_SVN_PROMPT_PREFIX="%{$fg[red]%}‹"
|
||||||
|
ZSH_THEME_SVN_PROMPT_SUFFIX="›%{$reset_color%}"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue