Skip to content

Instantly share code, notes, and snippets.

@foxweb
Created February 4, 2014 20:55
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 foxweb/8812175 to your computer and use it in GitHub Desktop.
Save foxweb/8812175 to your computer and use it in GitHub Desktop.
-='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'
RED='RAILS_ENV=development'
REP='RAILS_ENV=production'
RET='RAILS_ENV=test'
_=sudo
afind='ack-grep -il'
brake='noglob bundle exec rake'
brews='brew list -1'
cd..='cd ..'
cd...='cd ../..'
cd....='cd ../../..'
cd.....='cd ../../../..'
cd/='cd /'
d='dirs -v | head -10'
devlog='tail -f log/development.log'
ebuild='nocorrect ebuild'
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'
gcl='git config --list'
gclean='git reset --hard && git clean -dfx'
gcm='git checkout master'
gcmsg='git commit -m'
gco='git checkout'
gcount='git shortlog -sn'
gcp='git cherry-pick'
gd='git diff'
gdc='git diff --cached'
gemsets='rbenv gemset list'
gg='git gui citool'
gga='git gui citool --amend'
ggpnp='git pull origin $(current_branch) && git push origin $(current_branch)'
ggpull='git pull origin $(current_branch)'
ggpur='git pull --rebase origin $(current_branch)'
ggpush='git push origin $(current_branch)'
gignore='git update-index --assume-unchanged'
gignored='git ls-files -v | grep "^[[:lower:]]"'
gist='nocorrect gist'
git-svn-dcommit-push='git svn dcommit && git push github master:svntrunk'
gk='gitk --all --branches'
gl='git pull'
glg='git log --stat --max-count=10'
glgg='git log --graph --max-count=10'
glgga='git log --graph --decorate --all'
glo='git log --oneline'
globurl='noglob urlglobber '
glp=_git_log_prettily
gm='git merge'
gmt='git mergetool --no-prompt'
gp='git push'
gpoat='git push origin --all && git push origin --tags'
gr='git remote'
grba='git rebase --abort'
grbc='git rebase --continue'
grbi='git rebase -i'
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'
gsta='git stash'
gstd='git stash drop'
gstp='git stash pop'
gsts='git stash show --text'
gunignore='git update-index --no-assume-unchanged'
gunwip='git log -n 1 | grep -q -c "\-\-wip\-\-" && git reset HEAD~1'
gup='git pull --rebase'
gwc='git whatchanged -p --abbrev-commit --pretty=medium'
gwip='git add -A; git ls-files --deleted -z | xargs -0 git rm; git commit -m "--wip--"'
heroku='nocorrect heroku'
history='fc -l 1'
hpodder='nocorrect hpodder'
l='ls -la'
la='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'
please=sudo
po=popd
prodlog='tail -f log/production.log'
pu=pushd
rails=_rails_command
rake='noglob rake'
rc='rails console'
rd='rails destroy'
rdb='rails dbconsole'
rdc='rake db:create'
rdd='rake db:drop'
rdm='rake db:migrate'
rdr='rake db:rollback'
rds='rake db:seed'
rdtc='rake db:test:clone'
rdtp='rake db:test:prepare'
rg='rails generate'
rgm='rails generate migration'
rlc='rake log:clear'
rn='rake notes'
rp='rails plugin'
rr='rake routes'
rs='rails server'
rsd='rails server --debugger'
ru='rails runner'
rubies='rbenv versions'
run-help=man
sbrake='noglob sudo bundle exec rake'
sc='ruby script/console'
sd='ruby script/server --debugger'
sg='ruby script/generate'
sl=ls
sp='ruby script/plugin'
sr='ruby script/runner'
srake='noglob sudo rake'
ss='thin --stats "/thin/stats" start'
ssp='ruby script/spec'
sudo='nocorrect sudo'
testlog='tail -f log/test.log'
which-command=whence
za='zeus test test/unit/*; zeus test test/functional/; zeus cucumber'
zake='zeus rake'
zall='zeus test test/unit/*; zeus test test/functional/; zeus cucumber'
zc='zeus console'
zcu='zeus cucumber'
zdbc='zeus rake db:create'
zdbcm='zeus rake db:create db:migrate db:test:prepare'
zdbm='zeus rake db:migrate db:test:prepare'
zdbmigrate='zeus rake db:migrate db:test:prepare'
zdbr='zeus rake db:reset db:test:prepare'
zdbreset='zeus rake db:reset db:test:prepare'
zenerate='zeus generate'
zerver='zeus server'
zest='zeus test'
zf='zeus test test/functional/*'
zg='zeus generate'
zi='zeus init'
zinit='zeus init'
zonsole='zeus console'
zr='zeus rake'
zrn='zeus runner'
zs='zeus start'
zspec='zeus rspec'
zsr='zeus server'
zsw='rm .zeus.sock'
zt='zeus test'
ztart='zeus start'
zu='zeus test test/unit/*'
zucumber='zeus cucumber'
zunctional='zeus test test/functional/*'
zunits='zeus test test/unit/*'
zunner='zeus runner'
zweep='rm .zeus.sock'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment