summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2018-10-04 20:17:22 +1000
committerMaxime Coste <mawww@kakoune.org>2018-10-04 20:17:22 +1000
commit81fa2ad300fac1b7a7a039f5e7c8d5b2d4f142d6 (patch)
treec476520d5081f26d7c56766f0ba51d5d84ad0b9e
parentd9e95ff1fcb87ac9d548eeac60a6defd48518e10 (diff)
parent74fb175da15bcf2e9f4da09b452c8ee627b1bd5f (diff)
Merge remote-tracking branch 'laelath/kitty-repl-cwd'
-rw-r--r--rc/extra/kitty.kak2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc/extra/kitty.kak b/rc/extra/kitty.kak
index 3365afe2..96991a9d 100644
--- a/rc/extra/kitty.kak
+++ b/rc/extra/kitty.kak
@@ -48,7 +48,7 @@ All optional parameters are forwarded to the new window} \
} \
kitty-repl %{ evaluate-commands %sh{
if [ $# -eq 0 ]; then cmd="${SHELL:-/bin/sh}"; else cmd="$*"; fi
- kitty @ new-window --no-response --window-type $kak_opt_kitty_window_type --title kak_repl_window $cmd < /dev/null > /dev/null 2>&1 &
+ kitty @ new-window --no-response --window-type $kak_opt_kitty_window_type --title kak_repl_window --cwd "$PWD" $cmd < /dev/null > /dev/null 2>&1 &
}}
define-command kitty-send-text -docstring "send the selected text to the repl window" %{