Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

file 50 lines (42 sloc) 1.45 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
# ~/.aliases

alias b="bundle"
alias be='bundle exec'
alias bake='bundle exec rake'
alias cuc="bundle exec cucumber"
alias migrate="rake db:migrate db:test:prepare"
alias remigrate="rake db:migrate && rake db:migrate:redo && rake db:schema:dump db:test:prepare"
alias remongrate="rake mongoid:migrate && rake mongoid:migrate:redo"
alias s="bundle exec rspec"
alias gi="gem install"
alias giv="gem install -v"

# Git shortcuts
alias g='git'
alias got='git'
alias get='git'

# Other
alias ln='ln -v'
alias mkdir='mkdir -p'
alias ..="cd .."
alias ...="cd ../.."
alias cdp='cd ~/Projects'
alias cds='cd ~/Sites'
alias cdd='cd ~/Desktop'
alias l='ls'
alias ll='ls -al'
alias lh='ls -Alh'

# Finder
alias show='defaults write com.apple.Finder AppleShowAllFiles -bool true && killall Finder'
alias hide='defaults write com.apple.Finder AppleShowAllFiles -bool false && killall Finder'
alias killFinder='killall Finder && open /System/Library/CoreServices/Finder.app'

# Sass
alias swapp='sass --watch stylesheets/sass:stylesheets'
alias swsite='sass --watch css/sass:css'
alias swbapp='sass --watch stylesheets/sass:stylesheets -r ./stylesheets/sass/bourbon/lib/bourbon.rb'
alias swbsite='sass --watch css/sass:css -r ./css/sass/bourbon/lib/bourbon.rb'

# Jekyll
alias jeks='jekyll --server --auto'

# Stupid stuff
alias dub='yes "wub" | xargs say -v alex'

# MySQL
alias mysql='/usr/local/mysql/bin/mysql'
alias mysqladmin='/usr/local/mysql/bin/mysqladmin'
Something went wrong with that request. Please try again.