shell: Switch to xterm TERM variable

Move any and all display to xterm-256color color variable, to enable
always the same color display.
This commit is contained in:
Marty Oehme 2021-02-19 16:12:06 +01:00
parent 3d742a0503
commit 696953d3f7
Signed by: Marty
GPG key ID: B7538B8F50A1C800
2 changed files with 5 additions and 6 deletions

View file

@ -24,9 +24,9 @@ set -g renumber-windows on
set-window-option -g automatic-rename on
set-option -g set-titles on
set -g mouse on
set -s default-terminal $TERM
# allow truecolor support
set -as terminal-overrides ",*:Tc"
set -g default-terminal 'xterm-256color'
set -ga terminal-overrides ',xterm-256color:Tc'
# Set Cursor terminal override, so nvim can change cursor style when changing modes
# more info see nvim, :help tui-cursor-shape
# LEGACY: this should not be necessary anymore
@ -42,6 +42,8 @@ setw -g aggressive-resize on
# No delay for escape key press
set -sg escape-time 0
# to enable autoread option in neovim
set-option -g focus-events on
####################
## 2. PLUGINS ##