From eebc8c2f7d14b4500241bbdccd777b7839777c63 Mon Sep 17 00:00:00 2001 From: Olivier Perret Date: Sat, 22 Dec 2018 10:32:25 +0100 Subject: [PATCH] Fix a couple of mistakes in iterm.kak --- rc/extra/iterm.kak | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rc/extra/iterm.kak b/rc/extra/iterm.kak index c7e7b961..fe32f664 100644 --- a/rc/extra/iterm.kak +++ b/rc/extra/iterm.kak @@ -44,14 +44,14 @@ iterm-terminal-vertical []: create a new terminal as an ite The current pane is split into two, top and bottom The program passed as argument will be executed in the new terminal'\ %{ - iterm-terminal-split-impl 'vertically' %arg{1} + iterm-terminal-split-impl 'vertically' %arg{@} } define-command iterm-terminal-horizontal -params 1.. -shell-completion -docstring ' iterm-terminal-horizontal []: create a new terminal as an iterm pane The current pane is split into two, left and right The program passed as argument will be executed in the new terminal'\ %{ - iterm-terminal-split-impl 'horizontally' %arg{1} + iterm-terminal-split-impl 'horizontally' %arg{@} } define-command iterm-terminal-tab -params 1.. -shell-completion -docstring ' @@ -80,7 +80,7 @@ The program passed as argument will be executed in the new terminal'\ } } -define-command iterm-terminal-window -params 1 -shell-completion -docstring ' +define-command iterm-terminal-window -params 1.. -shell-completion -docstring ' iterm-terminal-window []: create a new terminal as an iterm window The program passed as argument will be executed in the new terminal'\ %{