X-Git-Url: https://git.r.bdr.sh/rbdr/dotfiles/blobdiff_plain/d1d7b859086e2403f07592d44e3aeeefd5c2232e..dd00198b994be07771781addbe3c23463982c528:/zsh/modules/aliases.zsh 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"