using (now fixed) virtualenvwrapper omz plugin
This commit is contained in:
parent
aad590ae7c
commit
69fd359a1f
@ -3,7 +3,7 @@
|
|||||||
if [ -z $SSH_CONNECTION ]; then HCOLOR="green"; else HCOLOR="blue"; fi
|
if [ -z $SSH_CONNECTION ]; then HCOLOR="green"; else HCOLOR="blue"; fi
|
||||||
local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})"
|
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%} '
|
$(git_prompt_info)%{$fg[red]%}%(!.#.»)%{$reset_color%} '
|
||||||
PROMPT2='%{$fg[red]%}\ %{$reset_color%}'
|
PROMPT2='%{$fg[red]%}\ %{$reset_color%}'
|
||||||
RPS1='${return_code}'
|
RPS1='${return_code}'
|
||||||
|
12
zshrc
12
zshrc
@ -21,6 +21,12 @@ export ZSH_CUSTOM=$HOME/.zsh/custom
|
|||||||
# Example format: plugins=(rails git textmate ruby lighthouse)
|
# 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)
|
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!
|
# OH MY ZSH!
|
||||||
source $ZSH/oh-my-zsh.sh
|
source $ZSH/oh-my-zsh.sh
|
||||||
|
|
||||||
@ -30,12 +36,6 @@ if [ -f "$HOME/.rvm/scripts/rvm" ]; then
|
|||||||
rvm 1.9.3
|
rvm 1.9.3
|
||||||
fi
|
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
|
# Node / nvm
|
||||||
if [ -f "$HOME/.nvm/nvm.sh" ]; then
|
if [ -f "$HOME/.nvm/nvm.sh" ]; then
|
||||||
source "$HOME/.nvm/nvm.sh"
|
source "$HOME/.nvm/nvm.sh"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user