improve next-in-path handling, fix line endings
This commit is contained in:
parent
f546b49599
commit
31a59f0207
14 changed files with 62 additions and 48 deletions
|
|
@ -5,4 +5,6 @@ RIPGREP_CONFIG_PATH=${XDG_CONFIG_HOME:-$HOME/.config}/ripgreprc
|
|||
if [[ -e $RIPGREP_CONFIG_PATH ]]; then
|
||||
export RIPGREP_CONFIG_PATH
|
||||
fi
|
||||
$(next-in-path rg $0) $@
|
||||
next=$(next-in-path rg $0)
|
||||
if (( $? != 0 )); then exit 1; fi
|
||||
$next $@
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue