From ff7690c57c3fa0d03cc9948ecb4da8e218efcfa6 Mon Sep 17 00:00:00 2001 From: Justine Smithies Date: Wed, 15 Apr 2026 17:40:05 +0100 Subject: Added alias to stop foot terminal confusing ssh --- .kshrc | 5 +++++ 1 file changed, 5 insertions(+) (limited to '.kshrc') diff --git a/.kshrc b/.kshrc index acf43f9..8cfbc2c 100644 --- a/.kshrc +++ b/.kshrc @@ -39,6 +39,11 @@ alias config='/usr/local/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME' alias pkg_add='doas pkg_add -Dsnap ' alias pkg_info='doas pkg_info -Dsnap ' +# Alias to stop foot terminal confusing ssh +if [ "$TERM" = "foot" ]; then + alias ssh='TERM=linux ssh' +fi + # Simple, lightweight git prompt for oksh: if inside a git repo, adds the # branch name to PS1. __get_current_git_branch_name() { -- cgit v1.2.3