show rvm prompt info
This commit is contained in:
parent
d04096238e
commit
8378cc8f27
@ -6,7 +6,7 @@ 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='%{$fg[blue]%}$(ruby_prompt_info)%{$reset_color%}${return_code}'
|
||||||
|
|
||||||
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[green]%}±%{$fg[yellow]%}"
|
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[green]%}±%{$fg[yellow]%}"
|
||||||
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%} "
|
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%} "
|
||||||
|
@ -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/*)
|
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
|
||||||
# Example format: plugins=(rails git textmate ruby lighthouse)
|
# 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
|
# Python/ virtualenv
|
||||||
if [ -f /usr/local/bin/virtualenvwrapper.sh ]; then
|
if [ -f /usr/local/bin/virtualenvwrapper.sh ]; then
|
||||||
@ -55,3 +55,5 @@ if [ $TERM = "screen" ]; then
|
|||||||
fi
|
fi
|
||||||
export EDITOR="vim"
|
export EDITOR="vim"
|
||||||
export LSCOLORS="ExGxFxdxCxDxDxhbadExEx"
|
export LSCOLORS="ExGxFxdxCxDxDxhbadExEx"
|
||||||
|
|
||||||
|
export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting
|
||||||
|
Loading…
x
Reference in New Issue
Block a user