5fb8b0b1fa
configurations COPYING flake.lock flake.nix lib local pkgs profiles README.md secrets users output to PAGER
6 lines
130 B
Text
6 lines
130 B
Text
# pipe rg into PAGER with colors
|
|
if [[ -t 1 && -n $PAGER ]]; then
|
|
@ripgrep@/bin/rg -p $@ | $PAGER
|
|
else
|
|
@ripgrep@/bin/rg $@
|
|
fi
|