From c7218940cbca0acf75cb84de824950557bef33f7 Mon Sep 17 00:00:00 2001 From: Alex Leferry 2 Date: Thu, 28 Mar 2019 14:28:40 +0100 Subject: [PATCH] Make kitty honoring the current working directory Fixes #2819 --- rc/windowing/kitty.kak | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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" "$@" } }