Created
May 19, 2013 07:57
-
-
Save bootleq/5607008 to your computer and use it in GitHub Desktop.
zsh alias for ag
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| () { | |
| # TODO --hidden | |
| local common='noglob ag --nobreak --nogroup --noheading --smart-case --depth=27' | |
| local colors='--color-path 35 --color-line-number 32 --color-match "1;31"' | |
| alias ag=$common' '$colors | |
| alias agjs=$common' '$colors' -G public/javascripts/.*-(debug|src).js' | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment