X-Git-Url: https://git.r.bdr.sh/rbdr/dotfiles/blobdiff_plain/5813c6344b37a6f20424be0f1c30d9513a1dfded..357710836fcc85419856fa820a2e81bc89b2c0e4:/zshrc diff --git a/zshrc b/zshrc index ed8303e..45b29fd 100644 --- a/zshrc +++ b/zshrc @@ -52,18 +52,33 @@ echo -e "\033[m" alias dwarffortress="/Applications/Dwarf\ Fortress/df" alias ls="ls -FG" alias rspec="rspec --color" -alias nitro="server.js" - -#Screeninator and RVM scripts +alias nitro="nitrogen.js" +alias agjs="ag -G \".*\\.js\"" +alias agrb="ag -G \".*\\.js\"" +alias agcss="ag -G \".*\\.css\"" +alias start-occipital="node occipital_server -c /etc/occipital/configuration.json -r -r /Users/benbeltran/Projects/nitrogen/repository_server" +alias spawn-server="python -m SimpleHTTPServer" +alias ta="tmux attach -t " + +#Tmuxinator and RVM scripts [[ -s $HOME/.rvm/scripts/rvm ]] && source $HOME/.rvm/scripts/rvm [[ -s $HOME/.tmuxinator/scripts/tmuxinator ]] && source $HOME/.tmuxinator/scripts/tmuxinator bindkey -v bindkey '^R' history-incremental-pattern-search-backward +ggb() { + git grep -n $1 | while IFS=: read i j k; do git blame -L $j,$j $i | cat; done +} + # # End of the custom things from my bash profile. # There's probably a more "zsh-ish" way of doing these, but I have no time. # +# The python stuff. +export WORKON_HOME=$HOME/.virtualenvs +export PROJECT_HOME=$HOME/Projects +source /usr/local/bin/virtualenvwrapper.sh + # Customize to your needs...