Skip to content

Commit

Permalink
Move config into mrchrisadams plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
mrchrisadams committed Mar 27, 2012
1 parent eaaeac5 commit cf84947
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions zshrc
Expand Up @@ -13,32 +13,20 @@ export DISABLE_AUTO_UPDATE="true"
#
# 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 gem cap brew ssh-agent amee)
plugins=(git osx ruby gem cap brew ssh-agent amee mrchrisadams bundler)

source $ZSH/oh-my-zsh.sh

# Personal changes to shell as follows
export EDITOR='mate -w'
export EDITOR="$HOME/bin/mate -w"

# set local paths for mysql et al
export PATH="$HOME/bin:/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:/usr/local/git/bin:$PATH"
export MANPATH="/usr/local/man:/usr/local/mysql/man:/usr/local/git/man:$MANPATH"


function edit-unmerged () {
$EDITOR `git ls-files --unmerged | cut -f2 | sort -u`
}

function add-unmerged () {
git add `git ls-files --unmerged | cut -f2 | sort -u`
}
# Fix for the weird ~rvm_rvmrc_cwd bug
# http://rvm.beginrescueend.com/integration/zsh/
unsetopt auto_name_dirs

# Add rvm to give us RVM
[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # This loads RVM into a shell session.

# Knife will often be intercepted by zsh's attempted corrections of filenames
alias knife='nocorrect knife'

0 comments on commit cf84947

Please sign in to comment.