Created
October 21, 2012 19:28
-
-
Save resure/3928191 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
c() { cd ~/code/$1; } | |
_c() { _files -W ~/code -/; } | |
compdef _c c | |
h() { cd ~/$1; } | |
_h() { _files -W ~/ -/; } | |
compdef _h h | |
export EDITOR='mate -w' | |
# autocorrect is more annoying than helpful | |
unsetopt correct_all | |
# a few aliases I like | |
alias gs='git status' | |
alias gd='git diff' | |
alias tlog='tail -f log/development.log' | |
alias gcma='git commit -am' | |
alias gcm='git commit -m' | |
alias gca='git commit -a' | |
alias go='git checkout' | |
# add plugin's bin directory to path | |
export PATH="$(dirname $0)/bin:$PATH" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment