Merge pull request #646 from trinitronx/add-silver-searcher-aliases
Adding alias for sane default options to "ag" ("the silver searcher")
pull/648/head
commit
3974532a82
|
|
@ -0,0 +1,12 @@
|
|||
cite 'about-alias'
|
||||
about-alias 'the silver searcher (ag) aliases'
|
||||
|
||||
## Summary for args to less:
|
||||
# less(1)
|
||||
# -M (-M or --LONG-PROMPT) Prompt very verbosely
|
||||
# -I (-I or --IGNORE-CASE) Searches with '/' ignore case
|
||||
# -R (-R or --RAW-CONTROL-CHARS) For handling ANSI colors
|
||||
# -F (-F or --quit-if-one-screen) Auto exit if <1 screen
|
||||
# -X (-X or --no-init) Disable termcap init & deinit
|
||||
|
||||
alias ag='ag --smart-case --pager="less -MIRFX"'
|
||||
Loading…
Reference in New Issue