summary refs log tree commit diff stats
path: root/user/zsh/zshrc.darwin
diff options
context:
space:
mode:
Diffstat (limited to 'user/zsh/zshrc.darwin')
-rw-r--r--user/zsh/zshrc.darwin8
1 files changed, 8 insertions, 0 deletions
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