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 | 93da0d62fe481a91bd289cefca008c81d74f3b6c (patch) | |
| tree | 2bfa2289892762a348921a3eac862ecab246a2fe | |
| parent | e970b41c2a8ffe89dc5581c2372badd766435552 (diff) | |
Changes to ackrc, zshrc & agignore: better search
| -rw-r--r-- | ackrc | 2 | ||||
| -rw-r--r-- | agignore | 4 | ||||
| -rw-r--r-- | zshrc | 6 |
3 files changed, 11 insertions, 1 deletions
@@ -7,6 +7,8 @@ --ignore-dir=tmp --ignore-dir=doc --ignore-dir=public/system +--ignore-dir=asset_packages +--ignore-dir=node_modules --sort-files --color --follow diff --git a/agignore b/agignore new file mode 100644 index 0000000..ccee019 --- /dev/null +++ b/agignore @@ -0,0 +1,4 @@ +tmp +public/system +asset_packages +node_modules @@ -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. |