zsh: Set TERM for max compatibility

I'm working with a lot of different systems over ssh
which don't always have the terminfo available (e.g. alacritty,
kitty, foot) and this seems to be the easiest way to solve this.
This commit is contained in:
histalek 2021-12-16 15:46:28 +01:00
parent 3416373558
commit f1da7f4c78
No known key found for this signature in database
GPG key ID: ED1D6449704FDE03

5
.zshrc
View file

@ -44,6 +44,11 @@ source $ZSH/oh-my-zsh.sh
### User configuration
# Set TERM for with or without TMUX
# http://www.economyofeffort.com/2014/07/04/zsh/
export TERM=xterm-256color
[ -n "$TMUX" ] && export TERM=screen-256color
setopt completealiases
prompt_context(){}