From 816b023e71ff91a773e0a6cb7c771383fdabeb3e Mon Sep 17 00:00:00 2001 From: JMARyA Date: Thu, 7 Mar 2024 02:49:33 +0100 Subject: [PATCH] fix --- zsh/ripgrep.zsh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/zsh/ripgrep.zsh b/zsh/ripgrep.zsh index b492628..b4c14ba 100644 --- a/zsh/ripgrep.zsh +++ b/zsh/ripgrep.zsh @@ -1,6 +1,9 @@ -#RG="rg" -RG="rga" -RIPGREP_ARGS="-i --no-ignore-vcs" +# Parameters +# You can on the fly reassign the values and update all the aliases with `zshrefresh` + +#RG="${RG:-rg}" +RG="${RG:-rga}" +RIPGREP_ARGS="${RIPGREP_ARGS:--i}" # Common Data alias ripgrep_data_urls="$RG $RIPGREP_ARGS 'data:(.*?)(;base64)?,(.*)'"