add bash-it
This commit is contained in:
12
dot_bash_it/aliases/available/ag.aliases.bash
Normal file
12
dot_bash_it/aliases/available/ag.aliases.bash
Normal file
@@ -0,0 +1,12 @@
|
||||
# shellcheck shell=bash
|
||||
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"'
|
||||
Reference in New Issue
Block a user