X-Git-Url: https://git.r.bdr.sh/rbdr/dotfiles/blobdiff_plain/551714b73376655c1871b003b57b9a647208bc82..7afd149163abf1d6a1ce7f3a24709d3f9f2dbf29:/zshrc?ds=inline diff --git a/zshrc b/zshrc index d68d3dc..e05c284 100644 --- a/zshrc +++ b/zshrc @@ -34,7 +34,7 @@ source $ZSH/oh-my-zsh.sh export TERM=screen-256color export JAVA_HOME=$(/usr/libexec/java_home) -export PATH=/Users/benbeltran/Projects/nitrogen/bin:/usr/local/bin:/usr/local/sbin:$PATH +export PATH=/usr/local/share/npm/bin:/Users/benbeltran/Projects/nitrogen/bin:/usr/local/bin:/usr/local/sbin:$PATH export NODE_PATH=/usr/local/lib/node_modules:$NODE_PATH export PYTONPATH=/usr/local/lib/python2.7/site-packages:$PYTHONPATH export PS1="$PS1"'$([ -n "$TMUX" ] && tmux setenv TMUXPWD_$(tmux display -p "#I_#P") "$PWD")' @@ -52,7 +52,7 @@ echo -e "\033[m" alias dwarffortress="/Applications/Dwarf\ Fortress/df" alias ls="ls -FG" alias rspec="rspec --color" -alias nitro="server.js" +alias nitro="nitrogen.js" #Screeninator and RVM scripts [[ -s $HOME/.rvm/scripts/rvm ]] && source $HOME/.rvm/scripts/rvm @@ -61,6 +61,10 @@ alias nitro="server.js" 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.