Make kitty honoring the current working directory

Fixes #2819
This commit is contained in:
Alex Leferry 2 2019-03-28 14:28:40 +01:00
parent 4b98b89437
commit c7218940cb

View File

@ -17,7 +17,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{
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 <program> [<arguments>]: create a new terminal as kitty tab
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{
kitty @ new-window --no-response --new-tab "$@" kitty @ new-window --no-response --new-tab --cwd "$PWD" "$@"
} }
} }