ohmyzsh/themes/risto.zsh-theme
Christopher Sexton 829f267657 Removing hard coded parens from rvm_prompt_info
I wanted to make use of rvm_prompt_info's error checking, but the
existin funciton had hard coded parens wrapping the ruby version. This
made for some odd behavior when using the system ruby (i.e. empty parens
in the prompt), and was not customizable. This should resolve the issue.

Updated risto theme to match.
2011-03-02 10:41:10 -05:00

15 lines
551 B
Bash
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Risto Theme
#
# 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_info)%{$reset_color%}%'
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[red]%}"
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%}"