Skip to content

Instantly share code, notes, and snippets.

@closer
Created May 26, 2014 07:51
Show Gist options
  • Select an option

  • Save closer/9ba209acdc32862b8328 to your computer and use it in GitHub Desktop.

Select an option

Save closer/9ba209acdc32862b8328 to your computer and use it in GitHub Desktop.
alias master="git co master && git pull origin master"
alias git-onyourmark="master && git delete-merged-branches && git remote prune closer"
alias cwd="pwd | sed 's/^.*\///'"
function t(){ tmux new-s -s `cwd | sed -E 's/\./-/g'` }
function or(){ open http://`cwd`.dev/ }
alias om="open http://localhost:4567/"
function rails-dev(){
or
bundle exec guard
}
alias -g G='| grep'
alias -g T='| tail'
alias -g L='| less'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment