From 91793f396ad2c0b8cb832476995ae5fd354f84db Mon Sep 17 00:00:00 2001 From: pagedmov Date: Thu, 28 Nov 2024 10:45:37 -0500 Subject: [PATCH] fixup! Fixed kitty_theme causing i/o errors in other terminals --- modules/home/environment/zsh/extraconfig.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/home/environment/zsh/extraconfig.nix b/modules/home/environment/zsh/extraconfig.nix index 828a4e6..fe39730 100644 --- a/modules/home/environment/zsh/extraconfig.nix +++ b/modules/home/environment/zsh/extraconfig.nix @@ -39,7 +39,7 @@ in } alias vi="nvim" kitty_theme() { - if [ $TERM = "kitty" ]; then + if [ $TERM = "xterm-kitty" ]; then if [ -n "$SSH_CONNECTION" ]; then kitty @ set-colors -a ~/.config/kitty/ssh-theme.conf elif [ "$name" = "nix-shell-env" ] || [ "$NIX_SHELL" = "true" ]; then