From dcdad9a65caff7336f26fb4930708136cfe488c0 Mon Sep 17 00:00:00 2001 From: Yorick Barbanneau Date: Wed, 15 Jan 2025 16:35:53 +0100 Subject: [PATCH] fix(foot): force $TERM when SSH to avoid termcap problem As foot termcap is not available on all host I manage --- modules/home-manager/application/foot/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/home-manager/application/foot/default.nix b/modules/home-manager/application/foot/default.nix index 1e65d1a..5807274 100644 --- a/modules/home-manager/application/foot/default.nix +++ b/modules/home-manager/application/foot/default.nix @@ -76,5 +76,9 @@ in }; }; }; + # As foot terminal definition is not present on server I manage, this workaround is quite useful. + home.shellAliases = { + ssh = "TERM=xterm-256color ssh"; + }; }; }