From 2a5e86e98ded000747ebd2e2c71bf87a21c02e1c Mon Sep 17 00:00:00 2001 From: Nico Date: Sun, 4 May 2025 00:31:40 +1000 Subject: [PATCH] zsh: set alias for ssh to use the TERM=xterm-256color env variable fixes bug where remote sessions don't have an updated TERMINFO binary that contains the definition for my current terminal, resulting in having a broken prompt --- stow/.zshrc | 1 + 1 file changed, 1 insertion(+) diff --git a/stow/.zshrc b/stow/.zshrc index 719041c..5f70b05 100644 --- a/stow/.zshrc +++ b/stow/.zshrc @@ -77,6 +77,7 @@ alias ll="ls -ahl --color=auto" alias cat="bat" alias rm="trash" +alias ssh="TERM=xterm-256color ssh" # fix ssh not recognising terminal and remote shell being somewhat broken alias tmux="tmux -f $HOME/.config/tmux/tmux.conf" # needed for osx systems for some reason # env vars