Skip to content

Commit

Permalink
append $* to rg_cmd instead of $@
Browse files Browse the repository at this point in the history
  • Loading branch information
vbauerster committed Nov 2, 2022
1 parent 613ab32 commit b17b963
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/kamp-grep
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit b17b963

Please sign in to comment.