summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2024-06-26 20:35:34 +1000
committerMaxime Coste <mawww@kakoune.org>2024-06-26 20:35:34 +1000
commitcbdd200e7341e010ab448028d2fe0a3f0d92b92a (patch)
tree8148b9118a65925458120b5ae2a3cb9e571e87c4
parent374a7a8c99830d4190db1569b67fafde8f1f5ebc (diff)
Fix corner case in passin arguments to grep and make
-rw-r--r--rc/tools/grep.kak2
-rw-r--r--rc/tools/make.kak2
2 files changed, 2 insertions, 2 deletions
diff --git a/rc/tools/grep.kak b/rc/tools/grep.kak
index e962815f..3847b67b 100644
--- a/rc/tools/grep.kak
+++ b/rc/tools/grep.kak
@@ -28,7 +28,7 @@ define-command -params .. -docstring %{
esac
fi
$kak_opt_grepcmd "$@" 2>&1 | tr -d '\r'
- } %arg{@}
+ } -- %arg{@}
set-option buffer filetype grep
set-option buffer jump_current_line 0
}
diff --git a/rc/tools/make.kak b/rc/tools/make.kak
index 5a0896b2..7f161e77 100644
--- a/rc/tools/make.kak
+++ b/rc/tools/make.kak
@@ -16,7 +16,7 @@ define-command -params .. -docstring %{
fifo -scroll -name *make* -script %{
trap - INT QUIT
$kak_opt_makecmd "$@"
- } %arg{@} # pass arguments for "$@" above, exit to avoid evaluating them
+ } -- %arg{@}
set-option buffer filetype make
set-option buffer jump_current_line 0
}