From 2b7c1d4a64cf18b37b6d414af82855bb46789cc6 Mon Sep 17 00:00:00 2001 From: smayzy Date: Sat, 11 Oct 2025 14:45:45 +0200 Subject: [PATCH] add ssh alias for kitten if kitty is used --- hosts/common/home.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hosts/common/home.nix b/hosts/common/home.nix index 4dee751..0b32e91 100644 --- a/hosts/common/home.nix +++ b/hosts/common/home.nix @@ -30,6 +30,11 @@ cp = "cp -r"; cd = "sl"; }; + initContent = '' + if [[ $TERM == "xterm-kitty" ]]; then + alias ssh="kitty +kitten ssh" + fi + ''; }; programs.git = {