mirror of
https://github.com/Morantron/tmux-fingers.git
synced 2026-09-10 07:26:32 -04:00
read default-terminal option instead of forcing tmux-256color
This commit is contained in:
parent
edd2972a82
commit
ff9954563b
|
|
@ -34,7 +34,7 @@ fi
|
|||
if [[ "$TERM" == "dumb" ]]; then
|
||||
# force term value to get proper colors in systemd and tmux 3.6a
|
||||
# https://github.com/Morantron/tmux-fingers/issues/143
|
||||
FINGERS_TERM="tmux-256color"
|
||||
FINGERS_TERM=$(tmux show-option -gqv default-terminal)
|
||||
else
|
||||
FINGERS_TERM="$TERM"
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in a new issue