diff --git a/src/rc/grep.kak b/src/rc/grep.kak index 9e969304..b98708b0 100644 --- a/src/rc/grep.kak +++ b/src/rc/grep.kak @@ -6,9 +6,9 @@ def -shell-params -file-completion \ output=$(mktemp -d -t kak-grep.XXXXXXXX)/fifo mkfifo ${output} if (( $# > 0 )); then - ( eval ${kak_opt_grepcmd} "$@" | tr -d '\r' >& ${output} ) >& /dev/null < /dev/null & + ( ${kak_opt_grepcmd} "$@" | tr -d '\r' >& ${output} ) >& /dev/null < /dev/null & else - ( eval ${kak_opt_grepcmd} "${kak_selection}" | tr -d '\r' >& ${output} ) >& /dev/null < /dev/null & + ( ${kak_opt_grepcmd} "${kak_selection}" | tr -d '\r' >& ${output} ) >& /dev/null < /dev/null & fi [[ -n "$kak_opt_toolsclient" ]] && echo "eval -client '$kak_opt_toolsclient' %{"