diff options
| author | Ben Beltran <ben@freshout.us> | 2013-08-22 09:35:23 -0500 |
|---|---|---|
| committer | Ben Beltran <ben@freshout.us> | 2013-08-22 09:35:23 -0500 |
| commit | 7afd149163abf1d6a1ce7f3a24709d3f9f2dbf29 (patch) | |
| tree | bac8b321ef5663ea5dac098bb0433839a301d19b /zshrc | |
| parent | 5813c6344b37a6f20424be0f1c30d9513a1dfded (diff) | |
Changes to ackrc, zshrc & agignore: better search
Diffstat (limited to 'zshrc')
| -rw-r--r-- | zshrc | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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. |