Skip to content

Instantly share code, notes, and snippets.

@kylewest
Created October 26, 2012 02:31
Show Gist options
  • Save kylewest/3956585 to your computer and use it in GitHub Desktop.
Save kylewest/3956585 to your computer and use it in GitHub Desktop.
..='cd ..'
...=../..
....=../../..
.....=../../../..
1='cd +1'
2='cd +2'
3='cd +3'
4='cd +4'
5='cd +5'
6='cd +6'
7='cd +7'
8='cd +8'
9='cd +9'
C='| wc -l'
G='| grep'
H='| head'
L='| less'
N='| /dev/null'
S='| sort'
_=sudo
a='fasd -a'
ack='nocorrect ack'
ae='vi $yadr/zsh/aliases.zsh'
ar='source $yadr/zsh/aliases.zsh'
b='${(z)BROWSER}'
c='pry -r ./config/environment'
cd='nocorrect cd'
cdb='cd -'
cfg='mvim ~/.dotfiles/.'
cl=clear
co='script/console --irb=pry'
cp='nocorrect cp -i'
d='fasd -d'
df='df -h'
du='du -h -d 2'
e='${(z)VISUAL:-${(z)EDITOR}}'
ebuild='nocorrect ebuild'
f='fasd -f'
fc='noglob fc'
fdr='osascript ~/Dropbox/Resources/Applescript/finder-open-pwd.scpt `pwd` >/dev/null'
find='noglob find'
ftp='noglob ftp'
ga='git add -A'
gam='git amend --reset-author'
gb='git b'
gbd='git b -D -w'
gbi='git rebase --interactive'
gcc='nocorrect gcc'
gci='git ci'
gcim='git ci -m'
gcln='git clean'
gclndf='git clean -df'
gclndfx='git clean -dfx'
gcm='git ci -m'
gco='git co'
gcp='git cp'
gd='git diff'
gdc='git diff --cached -w'
get='curl --continue-at - --location --progress-bar --remote-name --remote-time'
gf='git fetch'
gfch='git fetch'
ggrc='git rebase --continue'
gi='vi .gitignore'
gist='nocorrect gist'
gl=gitloop
glg='git l'
globurl='noglob urlglobber '
glog='git l'
gm='git merge'
gms='git merge --squash'
gnb='git nb'
gpl='git pull'
gplr='git pull --rebase'
gps='git push'
gpsh='git push'
gpub='grb publish'
gr='git rebase'
gra='git rebase --abort'
grad='git remote add'
grep='nocorrect grep'
grr='git remote rm'
grs='git reset'
grsh='git reset --hard'
grv='git remote -v'
gs='git status'
gsa='git stash apply'
gsh='git show'
gshow='git show'
gshw='git show'
gsm='git submodule'
gsmi='git submodule init'
gsmu='git submodule update'
gsp='git stash pop'
gst='git stash'
gstsh='git stash'
gt='git t'
gtr='grb track'
gunc='git uncommit'
guns='git unstage'
gz='tar -zcvf'
hd='git push heroku master'
heroku='nocorrect heroku'
history='noglob history'
history-stat='history 0 | awk ''{print $2}'' | sort | uniq -c | sort -n -r | head'
hosts='sudo nano /private/etc/hosts'
http-serve='python -m SimpleHTTPServer'
k9='kill -9'
ka9='killall -9'
l=less
la='ll -A'
lc='lt -c'
less='less -r'
lh='ls -alt | head'
lk='ll -Sr'
ll='ls -alGh'
lm='la | "$PAGER"'
ln='nocorrect ln -i'
locate='noglob locate'
lr='ll -R'
ls='ls -lAhFG'
lsg='ll | grep'
lt='ll -tr'
lu='lt -u'
lx='ll -XB'
man='nocorrect man'
mctags=/Users/kylewest/.bin/run_tags.rb
mkdir='nocorrect mkdir -p'
ms='mongrel_rails start'
mv='nocorrect mv -i'
mysql='nocorrect mysql'
o=open
p='${(z)PAGER}'
pbc=pbcopy
pbp=pbpaste
po=popd
portforward='sudo ipfw add 1000 forward 127.0.0.1,3000 ip from any to any 80 in'
psa='ps aux'
psg='ps aux | grep '
psr='ps aux | grep ruby'
pu=pushd
rake='noglob rake'
rdm='rake db:migrate'
rdmr='rake db:migrate:redo'
rm='nocorrect rm'
rs='rspec spec'
rsync='noglob rsync'
run-help=man
s='fasd -si'
scp='noglob scp'
screen='TERM=screen screen'
sd='fasd -sid'
sf='fasd -sif'
sftp='noglob sftp'
sgi='sudo gem install --no-ri --no-rdoc'
sl=ls
slib='chflags nohidden ~/Library'
ss='python ~/Dropbox/code/open-source/webkit2png/webkit2png -Fd -W 1200 -D ~/Dropbox/Inbox/screenshots '
task='~/Dropbox/code/open-source/OTask/bin/otask -g '
tf='tail -f'
tfdl='tail -f log/development.log'
tftl='tail -f log/test.log'
todo='open nvalt://find/todo'
topc='top -o cpu'
topm='top -o vsize'
ts='thin start'
type='type -a'
update-yadr-fork='git fetch upstream && git merge upstream/master && git submodule update --init && git ps'
ve='vi ~/.vimrc'
vim=/usr/local/Cellar/macvim/7.3-64/MacVim.app/Contents/MacOS/Vim
vlc='open -a VLC'
which-command=whence
xvlc='xargs open -a VLC'
yav='yadr vim-add-plugin'
yip='yadr init-plugins'
yup='yadr update-plugins'
yuv='yadr update-plugins'
z='fasd_cd -d'
zc='zeus console'
ze='vi ~/.zshrc'
zmv='noglob zmv -W'
zr='source ~/.zshrc'
zs='zeus server'
zz='fasd_cd -d -i'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment