lib/aliases.zsh
5da20b9d
 alias pu='pushd'
 alias po='popd'
538c54ba
 
5da20b9d
 alias sc='ruby script/console'
788c9af0
 alias sdb='ruby script/dbconsole'
c03aab51
 alias ssd='ruby script/server --debugger'
da3be21b
 alias ss='thin --stats "/thin/stats" start'
788c9af0
 alias sg='ruby script/generate'
 alias sd='ruby script/destroy'
 alias sp='ruby script/plugin'
 alias ssp='ruby script/spec'
 alias rdbm='rake db:migrate'
5da20b9d
 
 alias mr='mate CHANGELOG app config db lib public script spec test'
 alias .='pwd'
 alias ...='cd ../..'
60e99779
 alias -- -='cd -'
5da20b9d
 
 alias _='sudo'
8176645e
 alias ss='sudo su -'
5da20b9d
 
0f2e63f8
 #alias g='grep -in'
1875755f
 
0f2e63f8
 alias g='git'
1875755f
 alias gst='git status'
 alias gl='git pull'
788c9af0
 alias gup='git fetch && git rebase'
1875755f
 alias gp='git push'
 alias gd='git diff | mate'
7705ffaf
 alias gdv='git diff -w "$@" | vim -R -'
1875755f
 alias gc='git commit -v'
 alias gca='git commit -v -a'
 alias gb='git branch'
 alias gba='git branch -a'
788c9af0
 alias gdb='git branch -d'
 alias gcount='git shortlog -sn'
b6c8ef41
 alias gcp='git cherry-pick'
5da20b9d
 
 alias history='fc -l 1'
 
841cca16
 alias ls='ls -F'
1779bedd
 alias lsa='ls -lahG'
8176645e
 alias ll='ls -alr'
 alias l='ls'
 alias ll='ls -l'
 alias sl=ls # often screw this up
5da20b9d
 
 alias sgem='sudo gem'
 
 alias rfind='find . -name *.rb | xargs grep -n'
fdac2b3f
 alias afind='ack-grep -il'
5da20b9d
 
 alias git-svn-dcommit-push='git svn dcommit && git push github master:svntrunk'
 
7a7b0bc7
 alias et='mate . &'
 alias ett='mate app config lib db public spec test Rakefile Capfile Todo &'
 alias etp='mate app config lib db public spec test vendor/plugins vendor/gems Rakefile Capfile Todo &'
 alias etts='mate app config lib db public script spec test vendor/plugins vendor/gems Rakefile Capfile Todo &'