Update rc/windowing/kitty.kak
Co-authored-by: Screwtapello <thristian@gmail.com>
This commit is contained in:
parent
0917191118
commit
38b914162a
|
@ -15,7 +15,7 @@ kitty-terminal <program> [<arguments>]: create a new terminal as a kitty window
|
||||||
The program passed as argument will be executed in the new terminal' \
|
The program passed as argument will be executed in the new terminal' \
|
||||||
%{
|
%{
|
||||||
nop %sh{
|
nop %sh{
|
||||||
if [[ -z ${kak_client_env_KITTY_LISTEN_ON:-} ]]; then
|
if [ -z "$kak_client_env_KITTY_LISTEN_ON" ]; then
|
||||||
kitty @ new-window --no-response --window-type "$kak_opt_kitty_window_type" --cwd "$PWD" "$@"
|
kitty @ new-window --no-response --window-type "$kak_opt_kitty_window_type" --cwd "$PWD" "$@"
|
||||||
else
|
else
|
||||||
kitty @ --to "$kak_client_env_KITTY_LISTEN_ON" new-window --no-response --window-type "$kak_opt_kitty_window_type" --cwd "$PWD" "$@"
|
kitty @ --to "$kak_client_env_KITTY_LISTEN_ON" new-window --no-response --window-type "$kak_opt_kitty_window_type" --cwd "$PWD" "$@"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user