Skip to content
Browse files

get rid of oh-my-zsh. Just use vcs_info to get git info

  • Loading branch information...
1 parent 874a83b commit b0ecf2d649764757e7695a0990661191c4b21a9c @heymatthenry committed
Showing with 11 additions and 9 deletions.
  1. +11 −9 zshrc
20 zshrc
@@ -1,15 +1,16 @@
-# Path to your oh-my-zsh configuration.
-export ZSH=$HOME/.zsh/oh-my-zsh
+autoload -U colors && colors
+autoload -Uz vcs_info
+autoload -U compinit && compinit
-# Set to the name theme to load.
-# Look in ~/.oh-my-zsh/themes/
-export ZSH_THEME="eastwood"
+zstyle ':vcs_info:git*' formats "%{$fg[yellow]%}[%b]%{$reset_color%}%m%u%c%{$reset_color%}"
-# 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=(git osx ruby)
+precmd() {
+ vcs_info
-source $ZSH/
+setopt prompt_subst
+PROMPT="%{$fg[blue]%}[%~] %{$reset_color%}%# "
source ~/.zsh/aliases # Bring in my aliases
source ~/.zsh/functions # Load custom functions
@@ -20,6 +21,7 @@ export EDITOR='vim'
export GEM_HOME='/usr/local/bin'
export GEM_PATH='/usr/local/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
# rvm installer added line:

0 comments on commit b0ecf2d

Please sign in to comment.
Something went wrong with that request. Please try again.