Skip to content

Instantly share code, notes, and snippets.

@richardvanbergen
Created June 6, 2013 15:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save richardvanbergen/5722305 to your computer and use it in GitHub Desktop.
Save richardvanbergen/5722305 to your computer and use it in GitHub Desktop.
List of aliases.
-='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'
:q=exit
DELETE='lwp-request -m '\''DELETE'\'
GET='lwp-request -m '\''GET'\'
HEAD='lwp-request -m '\''HEAD'\'
OPTIONS='lwp-request -m '\''OPTIONS'\'
POST='lwp-request -m '\''POST'\'
PUT='lwp-request -m '\''PUT'\'
TRACE='lwp-request -m '\''TRACE'\'
_=sudo
afind='ack-grep -il'
c='pygmentize -O style=monokai -f console256 -g'
cd..='cd ..'
cd...='cd ../..'
cd....='cd ../../..'
cd.....='cd ../../../..'
cd/='cd /'
d='dirs -v | head -10'
exip='wget -qO- www.icanhazip.com'
fs='stat -f "%z bytes"'
g=git
ga='git add'
gb='git branch'
gba='git branch -a'
gc='git commit -v'
'gc!'='git commit -v --amend'
gca='git commit -v -a'
'gca!'='git commit -v -a --amend'
gci='git commit'
gcl='git config --list'
gcm='git checkout master'
gco='git checkout'
gcount='git shortlog -sn'
gcp='git cherry-pick'
gd='git diff'
gdf='git diff'
gf='git ls-files | grep'
ggpnp='git pull origin $(current_branch) && git push origin $(current_branch)'
ggpull='git pull origin $(current_branch)'
ggpush='git push origin $(current_branch)'
git-svn-dcommit-push='git svn dcommit && git push github master:svntrunk'
gl='git pull'
glg='git log --stat --max-count=5'
glgg='git log --graph --max-count=5'
glgga='git log --graph --decorate --all'
globurl='noglob urlglobber '
gm='git merge'
gp='git push'
gph='git push'
gpl='git pull'
gpoat='git push origin --all && git push origin --tags'
gr='git remote'
grh='git reset HEAD'
grhh='git reset HEAD --hard'
grmv='git remote rename'
grrm='git remote remove'
grset='git remote set-url'
grt='cd $(git rev-parse --show-toplevel || echo ".")'
grup='git remote update'
grv='git remote -v'
gsd='git svn dcommit'
gsr='git svn rebase'
gss='git status -s'
gst='git status'
gundo='git push -f origin HEAD^:master'
gup='git pull --rebase'
gwc='git whatchanged -p --abbrev-commit --pretty=medium'
history='fc -l 1'
hl='cd ~/Shared/Highlander/tech'
hosts='sudo vim /etc/hosts'
httpdump='sudo tcpdump -i en1 -n -s 0 -w - | grep -a -o -E "Host\: .*|GET \/.*"'
l='ls -lA1'
la='ls -lA'
ll='ls -l'
ls='ls --color=tty'
lsa='ls -lah'
lsd='ls -l | grep "^d"'
md='mkdir -p'
ohmyzsh='vim ~/.oh-my-zsh'
please=sudo
po=popd
pu=pushd
rd=rmdir
rvm-restart='rvm_reload_flag=1 source '\''/home/richard/.rvm/scripts/rvm'\'
sl=ls
sniff='sudo ngrep -d '\''en1'\'' -t '\''^(GET|POST) '\'' '\''tcp and port 80'\'
tmux='tmux -2'
update='sudo apt-get update'
upgrade='sudo apt-get update && sudo apt-get upgrade'
v=vim
which-command=whence
whois='whois -h whois-servers.net'
zl='cd ~/Shared/Zoolander/home'
zshconfig='vim ~/.zshrc'
less='view -'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment