show rvm prompt info

This commit is contained in:
James Walker 2014-04-22 22:16:10 -04:00
parent d04096238e
commit 8378cc8f27
2 changed files with 4 additions and 2 deletions

View File

@ -6,7 +6,7 @@ local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})"
PROMPT='%{$fg[$HCOLOR]%}%m%{$reset_color%}:%c \
$(git_prompt_info)%{$fg[red]%}%(!.#.»)%{$reset_color%} '
PROMPT2='%{$fg[red]%}\ %{$reset_color%}'
RPS1='${return_code}'
RPS1='%{$fg[blue]%}$(ruby_prompt_info)%{$reset_color%}${return_code}'
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[green]%}±%{$fg[yellow]%}"
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%} "

View File

@ -19,7 +19,7 @@ export ZSH_CUSTOM=$HOME/.zsh/custom
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
# Example format: plugins=(rails git textmate ruby lighthouse)
plugins=(extract cask tmux tmuxinator git github git-flow ruby gem rbenv rails bundler heroku ssh-agent bower npm nvm golang drush composer symfony2 vagrant knife)
plugins=(extract cask tmux tmuxinator git github git-flow ruby gem rvm rails bundler heroku ssh-agent bower npm nvm golang drush composer symfony2 vagrant knife)
# Python/ virtualenv
if [ -f /usr/local/bin/virtualenvwrapper.sh ]; then
@ -55,3 +55,5 @@ if [ $TERM = "screen" ]; then
fi
export EDITOR="vim"
export LSCOLORS="ExGxFxdxCxDxDxhbadExEx"
export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting