Skip to content

Instantly share code, notes, and snippets.

@pifleo
Created December 1, 2012 21:28
Show Gist options
  • Save pifleo/4185222 to your computer and use it in GitHub Desktop.
Save pifleo/4185222 to your computer and use it in GitHub Desktop.
Alias
# system
alias tc='ne ~/.bash_aliases'
alias tcs='source ~/.bash_aliases'
alias s='shutdown -h now'
alias ..='cd ..'
# editors
# Emacs
alias e='emacs -nw'
alias ne='emacs -nw'
# Sublime text
alias st='st &'
alias update_st='cd ~; rm -r Softwares/sublime_text2/*; cp -r Downloads/Sublime\ Text\ 2/* Softwares/sublime_text2/'
# Rails Alias
alias rc='rails console'
alias rs='rails server'
alias fs='foreman start'
alias re='export RAILS_ENV=production'
alias ru='unset RAILS_ENV'
alias br='bundle exec rake'
# gem 'annotate'
alias annotate='bundle exec annotate --exclude tests,fixtures'
# development
alias gco='git commit -am'
alias gc='git checkout'
alias gb='git branch'
alias gs='git status'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment