Skip to content

Instantly share code, notes, and snippets.

@chandeeland
Created March 28, 2016 18:43
Show Gist options
  • Save chandeeland/d83799903cd48e1401f2 to your computer and use it in GitHub Desktop.
Save chandeeland/d83799903cd48e1401f2 to your computer and use it in GitHub Desktop.
alias
alias -='cd -'
alias ..='cd ..'
alias ...='cd ../..'
alias ....='cd ../../..'
alias 1='pushd'
alias 2='pushd +2'
alias 3='pushd +3'
alias 4='pushd +4'
alias 5='pushd +5'
alias 6='pushd +6'
alias 7='pushd +7'
alias 8='pushd +8'
alias 9='pushd +9'
alias L='cat ~/.dirs'
alias U='source ~/.dirs'
alias _='sudo'
alias bdr='brew doctor'
alias be='bundle exec'
alias bi='bundle install'
alias bin='brew install'
alias binf='brew info'
alias bl='bundle list'
alias bls='brew list'
alias bout='brew outdated'
alias bp='bundle package'
alias brm='brew uninstall'
alias bsr='brew search'
alias bu='bundle update'
alias bup='brew update && brew upgrade'
alias c='clear'
alias cls='clear'
alias cons='rails c'
alias d='dirs -v -l'
alias dbm='rake db:migrate'
alias devlog='tail -f log/development.log'
alias dp='cd ~/workspace/data_pipeline'
alias edit='/usr/bin/mate -w'
alias f='find .'
alias g='grep'
alias ga='git add -p .'
alias gall='git add .'
alias gb='git branch'
alias gba='git branch -a'
alias gc='git commit'
alias gca='git commit -v -a'
alias gcaa='git commit -a --amend -C HEAD'
alias gcb='git checkout -b'
alias gci='git commit --interactive'
alias gcl='git clone'
alias gcm='git commit -v -m'
alias gco='git checkout master'
alias gcount='git shortlog -sn'
alias gcp='git cherry-pick'
alias gd='git diff | /usr/bin/mate -w'
alias gdel='git branch -D'
alias gdv='git diff -w "$@" | vim -R -'
alias get='git'
alias gexport='git archive --format zip --output'
alias gg='git log --graph --pretty=format:'\''%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset'\'' --abbrev-commit --date=relative'
alias ggs='gg --stat'
alias gi='grep -i'
alias gl='git pull'
alias gll='git log --graph --pretty=oneline --abbrev-commit'
alias gm='git merge - --no-ff'
alias gmu='git fetch origin -v; git fetch upstream -v; git merge upstream/master'
alias gnew='git log HEAD@{1}..HEAD@{0}'
alias gp='git push -u origin HEAD'
alias gpo='git push origin'
alias gpp='git pull && git push'
alias gpr='git pull --rebase'
alias grd='be guard'
alias gs='git status'
alias gshort='grep -v ".\{90,\}"'
alias gsl='git shortlog -sn'
alias gss='git status -s'
alias gst='git status'
alias gt='git tag'
alias gta='git tag -a'
alias gtd='git tag -d'
alias gtl='git tag -l'
alias gtls='git tag -l | gsort -V'
alias gup='git fetch && git rebase'
alias gus='git reset HEAD'
alias gw='git whatchanged'
alias h='heroku'
alias hc='heroku config'
alias hca='heroku config:add'
alias hcc='heroku config:clear'
alias hcon='heroku console'
alias hcr='heroku config:remove'
alias hd='heroku dynos'
alias hi='heroku info'
alias hl='heroku list'
alias hlog='heroku logs'
alias hlogs='heroku logs'
alias hnew='heroku create'
alias ho='heroku open'
alias hoff='heroku maintenance:off'
alias hon='heroku maintenance:on'
alias hr='heroku rake'
alias hrestart='heroku restart'
alias hw='heroku workers'
alias irc='irssi'
alias k='clear'
alias l='ls -a'
alias l1='ls -1'
alias la='ls -AF'
alias ll='ls -al'
alias ls='ls -G'
alias md='mkdir -p'
alias pager=''
alias pc='cd ~/workspace/plan_compass'
alias pca='cd ~/workspace/plan_compass/lib/api'
alias pcb='cd ~/workspace/plan_compass_business'
alias pcc='cd ~/workspace/plan_compass/app/controllers'
alias pch='cd ~/workspace/plan_compass/app/helpers'
alias pcm='cd ~/workspace/plan_compass/app/models'
alias pcr='cd ~/workspace/plan_compass/app/routes'
alias pcs='cd ~/workspace/plan_compass/app/styles'
alias pcsr='cd ~/workspace/plan_compass/app/services'
alias pct='cd ~/workspace/plan_compass/app/templates'
alias pcta='cd ~/workspace/plan_compass/lib/tasks'
alias pcv='cd ~/workspace/plan_compass/app/views'
alias piano='pianobar'
alias po='popd'
alias pp='cd ~/workspace/provider_portal'
alias pu='pushd'
alias q='exit'
alias r='rails'
alias ra='rails application'
alias rails='be command rails'
alias rake='be command rake'
alias rb='rails dbconsole'
alias rc='rails c'
alias rd='rails destroy'
alias reload='source ~/.bash_profile'
alias restart='touch tmp/restart.txt'
alias restartapp='touch tmp/restart.txt'
alias rg='rails g'
alias rn='rails new'
alias rp='rails plugin'
alias rs='rails s'
alias rspec='be command rspec'
alias sb='source ~/.bash_profile'
alias sc='script/console'
alias sl='ls'
alias ss='script/server'
alias taild='tail -f log/development.log'
alias tree='find . -print | sed -e '\''s;[^/]*/;|____;g;s;____|; |;g'\'''
alias ts='thin start'
alias v='vi'
alias vb='vi ~/.bash_profile'
alias vba='vi ~/.bash_it/aliases/custom.aliases.bash'
alias vc='cd ~/workspace/vericred'
alias vca='cd ~/workspace/vericred/lib/api'
alias vcc='cd ~/workspace/vericred/app/controllers'
alias vcm='cd ~/workspace/vericred/app/models'
alias vct='cd ~/workspace/vericred/lib/tasks'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment