diff --git a/rc/windowing/kitty.kak b/rc/windowing/kitty.kak index 79583945..1d2155f7 100644 --- a/rc/windowing/kitty.kak +++ b/rc/windowing/kitty.kak @@ -17,7 +17,7 @@ kitty-terminal []: create a new terminal as a kitty window The program passed as argument will be executed in the new terminal' \ %{ nop %sh{ - kitty @ new-window --no-response --window-type $kak_opt_kitty_window_type "$@" + kitty @ new-window --no-response --window-type $kak_opt_kitty_window_type --cwd "$PWD" "$@" } } @@ -26,7 +26,7 @@ kitty-terminal-tab []: create a new terminal as kitty tab The program passed as argument will be executed in the new terminal' \ %{ nop %sh{ - kitty @ new-window --no-response --new-tab "$@" + kitty @ new-window --no-response --new-tab --cwd "$PWD" "$@" } }