Skip to content

Commit

Permalink
get rid of oh-my-zsh. Just use vcs_info to get git info
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Henry committed Mar 20, 2012
1 parent 874a83b commit b0ecf2d
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions zshrc
Original file line number Original file line Diff line number Diff line change
@@ -1,15 +1,16 @@
# Path to your oh-my-zsh configuration. autoload -U colors && colors
export ZSH=$HOME/.zsh/oh-my-zsh autoload -Uz vcs_info
autoload -U compinit && compinit


# Set to the name theme to load. zstyle ':vcs_info:git*' formats "%{$fg[yellow]%}[%b]%{$reset_color%}%m%u%c%{$reset_color%}"
# Look in ~/.oh-my-zsh/themes/
export ZSH_THEME="eastwood"


# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*) precmd() {
# Example format: plugins=(rails git textmate ruby lighthouse) vcs_info
plugins=(git osx ruby) }


source $ZSH/oh-my-zsh.sh setopt prompt_subst
RPROMPT='${vcs_info_msg_0_}'
PROMPT="%{$fg[blue]%}[%~] %{$reset_color%}%# "


source ~/.zsh/aliases # Bring in my aliases source ~/.zsh/aliases # Bring in my aliases
source ~/.zsh/functions # Load custom functions source ~/.zsh/functions # Load custom functions
Expand All @@ -20,6 +21,7 @@ export EDITOR='vim'
export GEM_HOME='/usr/local/bin' export GEM_HOME='/usr/local/bin'
export GEM_PATH='/usr/local/bin' export GEM_PATH='/usr/local/bin'
export MULBERRY_PATH=$HOME/Toura/mulberry/cli/bin/ export MULBERRY_PATH=$HOME/Toura/mulberry/cli/bin/
export ANDROID_SDK_ROOT=/usr/local/Cellar/android-sdk/r16/


export PATH=/usr/local/bin:/usr/local/sbin:$PATH export PATH=/usr/local/bin:/usr/local/sbin:$PATH
# rvm installer added line: # rvm installer added line:
Expand Down

0 comments on commit b0ecf2d

Please sign in to comment.