From b17b96327c863b91d0fe3994bc07c0699304a38c Mon Sep 17 00:00:00 2001 From: Vladimir Bauer Date: Wed, 2 Nov 2022 12:57:22 +0500 Subject: [PATCH] append $* to rg_cmd instead of $@ --- scripts/kamp-grep | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/kamp-grep b/scripts/kamp-grep index 836bd6a..3f3e36e 100755 --- a/scripts/kamp-grep +++ b/scripts/kamp-grep @@ -34,7 +34,7 @@ if [ $# -ne 0 ]; then esac fi -rg_cmd="rg --color=always --column $@" +rg_cmd="rg --color=always --column $*" if [ -z "$query" ]; then export FZF_DEFAULT_COMMAND="$rg_cmd --files"