aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustine Smithies <justine@smithies.me.uk>2026-04-15 17:40:05 +0100
committerJustine Smithies <justine@smithies.me.uk>2026-04-15 17:40:05 +0100
commitff7690c57c3fa0d03cc9948ecb4da8e218efcfa6 (patch)
tree4f66fa25c688ba7f960a34b93cccf94aadd4c66d
parent5e07da3e2020a6373693d6dde008bd24a7613b0c (diff)
Added alias to stop foot terminal confusing ssh
-rw-r--r--.kshrc5
1 files changed, 5 insertions, 0 deletions
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() {