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
This commit is contained in:
Nico 2025-05-04 00:31:40 +10:00
parent 875e7ebc71
commit 2a5e86e98d

View file

@ -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