mirror of
https://github.com/mawww/kakoune.git
synced 2024-12-25 20:41:49 +03:00
Made kitty repl window start in the current working directory
Enclose PWD expansion
This commit is contained in:
parent
551021d6e5
commit
74fb175da1
@ -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" %{
|
||||
|
Loading…
Reference in New Issue
Block a user