From ed7b5467946283acc91543d9ffda4cd120320a54 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 12 May 2023 09:18:57 +0200 Subject: zsh/darwin: integrate with kitty --- user/zsh/zshrc.darwin | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'user/zsh') diff --git a/user/zsh/zshrc.darwin b/user/zsh/zshrc.darwin index 58093e09..06e7bbc9 100644 --- a/user/zsh/zshrc.darwin +++ b/user/zsh/zshrc.darwin @@ -32,3 +32,11 @@ finder() { open -a Finder "${1:-.}" } compdef '_path_files -/' finder + +if test -n "$KITTY_INSTALLATION_DIR"; then + export KITTY_SHELL_INTEGRATION="enabled" + autoload -Uz -- "$KITTY_INSTALLATION_DIR"/shell-integration/zsh/kitty-integration + kitty-integration + unfunction kitty-integration + alias ssh="kitten ssh" +fi -- cgit 1.4.1