Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

55 lines (42 sloc) 1.719 kB
platform=`uname`
# Tilde
alias tilde="cd ~/Workspaces/tilde"
# Console
alias profile="vi ~/.bash_profile"
alias mkpath="mkdir -p"
alias ss="script/server"
alias cls=clear
if [[ "$platform" == 'Darwin' ]]; then
alias flushdns="dscacheutil -flushcache"
alias ls="ls -p -h -G"
# PostgreSQL
alias pgstart="pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start"
alias pgstop="pg_ctl -D /usr/local/var/postgres stop -s -m fast"
# Desktop Programs
alias fireworks="open -a '/Applications/Adobe Fireworks CS6/Adobe Fireworks CS6.app'"
alias photoshop="open -a '/Applications/Adobe Photoshop CC/Adobe Photoshop CC.app'"
alias illustrator="open -a '/Applications/Adobe Illustrator CC/Adobe Illustrator CC.app'"
alias preview="open -a '/Applications/Preview.app'"
alias xcode="open -a '/Developer/Applications/Xcode.app'"
alias coda="open -a '/Applications/Coda.app'"
alias tm="mate"
alias ios-simulator="open -a '/Applications/Xcode.app/Contents/Applications/iPhone Simulator.app'"
alias refresh-dev-box='v destroy -f dev && v up dev && v ssh dev -c "bash -c /vagrant/files/home-dirs/john/bin/setup-dev-box.sh" && v ssh dev'
# Git
alias git=hub
# Ruby
alias stdlib="mate /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/"
alias gems="mate /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/"
else
alias ls="ls -p -h --color"
fi
# Git
alias changelog="git log --no-merges --date=short --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cd)%Creset'"
# Tmux
alias tmux="TERM=xterm-256color tmux"
# WGET
alias wget="curl -O"
# Bundler
alias be="bundle exec"
# Work log
alias lw="logwork"
Jump to Line
Something went wrong with that request. Please try again.