alias tn="tmux new -s"
# Simple python server
-alias spawn-server="python -m SimpleHTTPServer"
+alias spawn-server="python -m http.server 9000"
# Git aliases
alias g='git'
alias gp='git push'
# Graphicsmagick override
-alias grm="/usr/local/bin/gm"
+if command -v brew &> /dev/null; then
+ alias grm="$(brew --prefix)/bin/gm"
+fi
# JS friendly tree
-alias arbol="tree -I 'node_modules|bower_components|doc'"
+alias arbol="tree -I 'node_modules|bower_components|doc|__pycache__|\.pyc'"
# Load Script Version Managers because they slow
alias enable-nvm='source $(brew --prefix nvm)/nvm.sh'
alias workon="echo 'DISABLED: run enable-virtualenvwrapper to enable'"
alias enable-virtualenvwrapper="unalias workon; source /usr/local/bin/virtualenvwrapper.sh"
alias enable-rvm="source $HOME/.rvm/scripts/rvm"
+alias t="things.sh"