Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
32 lines (21 sloc) 664 Bytes
# Shortcuts
# Detect which `ls` flavor is in use
if ls --color > /dev/null 2>&1; then # GNU `ls`
colorflag="--color"
else # OS X `ls`
colorflag="-G"
fi
# List all files, human-readable and colorized in long format
alias l="ls -lh ${colorflag}"
# List all files human-readable, colorized in long format, including dot files
alias ll="ls -lah ${colorflag}"
# django runserver
alias rs="python manage.py runserver 0:8000"
# django syncdb
alias pms="python manage.py syncdb"
# common typo's
alias gti="git"
alias st="open -a \"SourceTree\" ."
alias marked='open -a marked'
alias t='tree -C -a -I .git'
alias openports="sudo lsof -PiTCP -sTCP:LISTEN"