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

@ -42,10 +42,7 @@ export LANG="en_US.UTF-8"
# if we forgot to set it treat bash as default
export SHELL=${SHELL:-/bin/bash}
# if terminfo for our terminal emulator does not exist fall back to xterm
if [ "$(find /usr/share/terminfo -name "$TERMINAL*" | wc -l)" -eq 0 ] || [ -z "$TERMINAL" ]; then
export TERM=xterm
fi
export TERM=xterm-256color
if exist fzf; then
export FZF_DEFAULT_OPTS="--bind 'tab:toggle+down,shift-tab:toggle+up,ctrl-g:top,ctrl-t:toggle-preview,ctrl-d:preview-half-page-down,ctrl-u:preview-half-page-up' --color=light -1 -m --delimiter :"