diff --git a/zsh/custom/walkah.zsh-theme b/zsh/custom/walkah.zsh-theme index 4f53c01..9961c58 100644 --- a/zsh/custom/walkah.zsh-theme +++ b/zsh/custom/walkah.zsh-theme @@ -3,7 +3,7 @@ if [ -z $SSH_CONNECTION ]; then HCOLOR="green"; else HCOLOR="blue"; fi local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})" -PROMPT='%{$fg[$HCOLOR]%}%m%{$reset_color%}:%C \ +PROMPT='%{$fg[$HCOLOR]%}%m%{$reset_color%}:%c \ $(git_prompt_info)%{$fg[red]%}%(!.#.»)%{$reset_color%} ' PROMPT2='%{$fg[red]%}\ %{$reset_color%}' RPS1='${return_code}' diff --git a/zshrc b/zshrc index 09a4a12..803dbaa 100644 --- a/zshrc +++ b/zshrc @@ -21,6 +21,12 @@ export ZSH_CUSTOM=$HOME/.zsh/custom # Example format: plugins=(rails git textmate ruby lighthouse) plugins=(extract git github svn ruby rails3 bundler rvm heroku pip django osx brew deb ssh-agent npm drush vagrant knife) +# Python/ virtualenv +if [ -f /usr/local/bin/virtualenvwrapper.sh ]; then + export WORKON_HOME=$HOME/.virtualenvs + plugins=($plugins virtualenvwrapper) +fi + # OH MY ZSH! source $ZSH/oh-my-zsh.sh @@ -30,12 +36,6 @@ if [ -f "$HOME/.rvm/scripts/rvm" ]; then rvm 1.9.3 fi -# Python/ virtualenv -if [ -f /usr/local/bin/virtualenvwrapper.sh ]; then - export WORKON_HOME=$HOME/.virtualenvs - source /usr/local/bin/virtualenvwrapper.sh -fi - # Node / nvm if [ -f "$HOME/.nvm/nvm.sh" ]; then source "$HOME/.nvm/nvm.sh"