diff --git a/rc/tools/grep.kak b/rc/tools/grep.kak index 2ce23e72..c252e954 100644 --- a/rc/tools/grep.kak +++ b/rc/tools/grep.kak @@ -25,7 +25,7 @@ define-command -params .. -docstring %{ output=$(mktemp -d "${TMPDIR:-/tmp}"/kak-grep.XXXXXXXX)/fifo mkfifo ${output} - ( ${kak_opt_grepcmd} "$@" | tr -d '\r' > ${output} 2>&1 & ) > /dev/null 2>&1 < /dev/null + ( ${kak_opt_grepcmd} "$@" 2>&1 | tr -d '\r' > ${output} 2>&1 & ) > /dev/null 2>&1 < /dev/null printf %s\\n "evaluate-commands -try-client '$kak_opt_toolsclient' %{ edit! -fifo ${output} *grep*