diff --git a/spot.sh b/spot.sh index 25f0cd0..4036b8e 100755 --- a/spot.sh +++ b/spot.sh @@ -161,7 +161,7 @@ fi # run search eval "find $dir $findopt -type f $exclude -print0" \ | GREP_COLOR="1;33;40" xargs -0 grep "${grepopt[@]}" -e "$@" \ - | sed "s/^\([^:]*:\)\(.*\)/ \\ + | sed "s/^\([^:]*\):\(.*\)/ \\ $cyan\1$reset \\ \2 /" \ | awk -v linenums=$linenums -v reset="$(tput sgr0)" -v colors=$colors -v mline=$mline '{