Replace ag with a better alternative
This commit is contained in:
parent
bbe488beb3
commit
104251eaf7
@ -319,7 +319,11 @@ fi
|
||||
alias -g nify=" > /dev/null 2>&1 &"
|
||||
alias -g nifyd=" > /dev/null 2>&1 & disown"
|
||||
alias -g L="2>&1|less"
|
||||
if ex ag; then
|
||||
if ex rg; then
|
||||
alias -g G='|& rg'
|
||||
# I'm so sorry ggreer
|
||||
alias ag=rg
|
||||
elif ex ag; then
|
||||
alias -g G='|& ag'
|
||||
elif ex egrep; then
|
||||
alias -g G='|& egrep'
|
||||
|
Loading…
Reference in New Issue
Block a user