X-Git-Url: https://git.r.bdr.sh/rbdr/dotfiles/blobdiff_plain/62cd2be5faf5d6523656b4245d1790c99fb5af9f..35cf7ed96e0987aa3ed90f9d7a79a729614f172c:/zsh/modules/aliases.zsh?ds=inline diff --git a/zsh/modules/aliases.zsh b/zsh/modules/aliases.zsh index 0f69a9e..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,7 +28,9 @@ 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|__pycache__|\.pyc'" @@ -38,3 +40,4 @@ 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"