Skip to content

Instantly share code, notes, and snippets.

@krazylegz
Created November 9, 2015 19:06
Show Gist options
  • Save krazylegz/9be9d815ea9997bd601d to your computer and use it in GitHub Desktop.
Save krazylegz/9be9d815ea9997bd601d to your computer and use it in GitHub Desktop.
alias ag='ag --pager="less -XFR" --hidden'
# Ruby aliases
alias bi='bundle install'
alias be='bundle exec'
alias beg='bundle exec guard'
alias ber='bundle exec rspec -t ~benchmark --no-profile'
alias bera='bundle exec rake'
alias berf='bundle exec rspec -t ~slow -t ~js -t ~benchmark --no-profile'
alias berb='bundle exec rspec --no-profile'
alias berfd='bundle exec rspec --format=documentation --no-profile'
alias berfp='bundle exec rspec --format=progress --no-profile'
alias berp='bundle exec rake pry'
alias berr='bundle exec rake routes | less -F'
alias bers='bundle exec rspec -t slow -t js -t benchmark --no-profile'
alias bert='bundle exec rake teaspoon'
alias gpo='git push origin'
alias gspp='git stash ; git pull ; git stash pop'
alias mig='bundle exec rake db:migrate && bundle exec rake db:test:prepare'
alias rc='bundle exec rails console'
alias rl='rvm list ; rvm gemset list'
alias brewup='brew update ; brew upgrade --all'
alias gd='git diff'
alias gs='git status'
alias vi='/Applications/MacVim.app/Contents/MacOS/Vim'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment