X-Git-Url: https://git.r.bdr.sh/rbdr/dotfiles/blobdiff_plain/889954adfb1da6a4c55719b96a7aa571611b6ea9..fb7b90d95230ea9bcf0640481da70a708b21b021:/zsh/modules/aliases.zsh?ds=sidebyside diff --git a/zsh/modules/aliases.zsh b/zsh/modules/aliases.zsh index 6ae0fcc..2037e9e 100644 --- a/zsh/modules/aliases.zsh +++ b/zsh/modules/aliases.zsh @@ -14,7 +14,7 @@ alias ta="tmux attach -t" 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' @@ -28,13 +28,16 @@ alias gm='git merge' 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"