From 8378cc8f27a87862df3336704fb7ea4917449a99 Mon Sep 17 00:00:00 2001 From: James Walker Date: Tue, 22 Apr 2014 22:16:10 -0400 Subject: [PATCH] show rvm prompt info --- home/.zsh/custom/walkah.zsh-theme | 2 +- home/.zshrc | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/home/.zsh/custom/walkah.zsh-theme b/home/.zsh/custom/walkah.zsh-theme index 9961c58..bd9ccfe 100644 --- a/home/.zsh/custom/walkah.zsh-theme +++ b/home/.zsh/custom/walkah.zsh-theme @@ -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%} " diff --git a/home/.zshrc b/home/.zshrc index fdcba06..4d47a73 100644 --- a/home/.zshrc +++ b/home/.zshrc @@ -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