From 8c6ccf367b8b2d64a78682fc6c5b8367122ce502 Mon Sep 17 00:00:00 2001 From: llevequemxcf <26246926+llevequemxcf@users.noreply.github.com> Date: Thu, 10 Aug 2017 12:19:46 +0200 Subject: [PATCH] fix "smart phrases" feature --- spot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spot.sh b/spot.sh index 25f0cd0..b25496c 100755 --- a/spot.sh +++ b/spot.sh @@ -160,7 +160,7 @@ fi # run search eval "find $dir $findopt -type f $exclude -print0" \ - | GREP_COLOR="1;33;40" xargs -0 grep "${grepopt[@]}" -e "$@" \ + | GREP_COLOR="1;33;40" xargs -0 grep "${grepopt[@]}" -e "`echo $@`" \ | sed "s/^\([^:]*:\)\(.*\)/ \\ $cyan\1$reset \\ \2 /" \