diff --git a/rc/tools/patch.kak b/rc/tools/patch.kak index fe635acf3..a6bae1f67 100644 --- a/rc/tools/patch.kak +++ b/rc/tools/patch.kak @@ -54,7 +54,7 @@ define-command patch -params .. -docstring %{ # a shell where it expands to nothing. eval set -- $kak_quoted_reg_a - "${kak_reg_f%/*}/patch-range.pl" $min_line $max_line "$@" || + perl "${kak_reg_f%/*}/patch-range.pl" $min_line $max_line "$@" || echo >$kak_command_fifo "set-register e fail 'patch: failed to apply selections, see *debug* buffer'" } execute-keys |