From 982270abf9f7cfc9e834f1f1e532ed538599669f Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Wed, 2 Dec 2015 00:53:34 +0000 Subject: [PATCH] tmux.kak: forward arguments without going though a %sh{} --- rc/tmux.kak | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rc/tmux.kak b/rc/tmux.kak index 171c8404c..686fd2d9d 100644 --- a/rc/tmux.kak +++ b/rc/tmux.kak @@ -26,15 +26,15 @@ def -hidden -params 1.. tmux-new-impl %{ } def tmux-new-vertical -params .. -command-completion -docstring "Create a new vertical pane in tmux" %{ - %sh{ echo "tmux-new-impl 'split-window -v' $@" } + tmux-new-impl 'split-window -v' %arg{@} } def tmux-new-horizontal -params .. -command-completion -docstring "Create a new horizontal pane in tmux" %{ - %sh{ echo "tmux-new-impl 'split-window -h' $@" } + tmux-new-impl 'split-window -h' %arg{@} } def tmux-new-window -params .. -command-completion -docstring "Create a new horizontal pane in tmux" %{ - %sh{ echo "tmux-new-impl 'new-window' $@" } + tmux-new-impl 'new-window' %arg{@} } def -docstring "focus given client" \