scripts/xdg-wrappers/rg

5 lines
159 B
Plaintext
Raw Normal View History

#!/bin/zsh
source ${$(realpath "$0"):h:h}/lib/next-in-path.zsh
export RIPGREP_CONFIG_PATH=${XDG_CONFIG_HOME:-$HOME/.config}/ripgreprc
$(next-in-path rg $0) $@