summaryrefslogblamecommitdiffstats
path: root/bin/rg
blob: ea883614ef6f4891319413807f12a075b103698f (plain) (tree)
1
2
3
4
5
6
7

         
                 
                                                                         


                                                           
#!/bin/sh

if [ -t 1 ]; then
    exec /usr/bin/rg --smart-case --no-ignore-messages -p "$@" | less -FR
else
    exec /usr/bin/rg --smart-case --no-ignore-messages "$@"
fi