diff --git a/rc/extra/iterm.kak b/rc/extra/iterm.kak index c7e7b961a..fe32f6641 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'\ %{