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:
parent
3416373558
commit
f1da7f4c78
1 changed files with 5 additions and 0 deletions
5
.zshrc
5
.zshrc
|
@ -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(){}
|
||||
|
|
Loading…
Add table
Reference in a new issue