Fix kitty KakBegin hook with new command syntax
This commit is contained in:
parent
63d7984b89
commit
7f117dff1e
|
@ -1,11 +1,11 @@
|
||||||
hook global KakBegin .* %{ %sh{
|
hook global KakBegin .* %sh{
|
||||||
if [ "$TERM" = "xterm-kitty" ] && [ -z "$TMUX" ]; then
|
if [ "$TERM" = "xterm-kitty" ] && [ -z "$TMUX" ]; then
|
||||||
echo "
|
echo "
|
||||||
alias global new kitty-new
|
alias global new kitty-new
|
||||||
alias global focus kitty-focus
|
alias global focus kitty-focus
|
||||||
"
|
"
|
||||||
fi
|
fi
|
||||||
} }
|
}
|
||||||
|
|
||||||
define-command -params .. kitty-new %{
|
define-command -params .. kitty-new %{
|
||||||
nop %sh{ kitty @ new-window "$(command -v kak 2>/dev/null)" -c "${kak_session}" -e "$*" }
|
nop %sh{ kitty @ new-window "$(command -v kak 2>/dev/null)" -c "${kak_session}" -e "$*" }
|
||||||
|
|
Loading…
Reference in New Issue
Block a user