Skip to content

Instantly share code, notes, and snippets.

@dtrietsch
Created June 30, 2011 14:28
Show Gist options
  • Save dtrietsch/1056340 to your computer and use it in GitHub Desktop.
Save dtrietsch/1056340 to your computer and use it in GitHub Desktop.
Alias Sample
-='cd -'
..='cd ..'
...='cd ../..'
1='cd -'
2='cd +2'
3='cd +3'
4='cd +4'
5='cd +5'
6='cd +6'
7='cd +7'
8='cd +8'
9='cd +9'
_=sudo
afind='ack-grep -il'
cd..='cd ..'
cd...='cd ../..'
cd....='cd ../../..'
cd.....='cd ../../../..'
cd/='cd /'
d='dirs -v'
ebuild='nocorrect ebuild'
g=git
gb='git branch'
gba='git branch -a'
gc='git commit -v'
gca='git commit -v -a'
gco='git checkout'
gcount='git shortlog -sn'
gcp='git cherry-pick'
ggpnp='git pull origin $(current_branch) && git push origin $(current_branch)'
ggpull='git pull origin $(current_branch)'
ggpush='git push origin $(current_branch)'
gist='nocorrect gist'
git-svn-dcommit-push='git svn dcommit && git push github master:svntrunk'
gl='git pull'
glg='git log --stat --max-count=5'
globurl='noglob urlglobber '
gp='git push'
gst='git status'
gup='git fetch && git rebase'
heroku='nocorrect heroku'
history='fc -l 1'
hpodder='nocorrect hpodder'
l='ls -la'
ll='ls -l'
ls='ls -G'
lsa='ls -lah'
man='nocorrect man'
md='mkdir -p'
mkdir='nocorrect mkdir'
mv='nocorrect mv'
mysql='nocorrect mysql'
po=popd
pu=pushd
rd=rmdir
run-help=man
rvm-restart='source '\''/Users/dtrietsch/.rvm/scripts/rvm'\'
sl=ls
which-command=whence
x=extract
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment