{bash,zsh}rc: tmux detection for ugly hacking

This commit is contained in:
Aminda Suomalainen 2025-02-11 08:38:07 +02:00
parent 689b99e4e5
commit 5006450797
Signed by: Mikaela
GPG Key ID: 99392F62BAE30723
2 changed files with 10 additions and 0 deletions

View File

@ -975,4 +975,9 @@ fi
#TODO: FIXME:
TERM=xterm-256color
# If $TMUX, then TERM is tmux-256color
if [ -v TMUX ]; then
TERM=tmux-256color
fi
# vim: filetype=bash

View File

@ -968,4 +968,9 @@ fi
#TODO: FIXME:
TERM=xterm-256color
# If $TMUX, then TERM is tmux-256color
if [ -v TMUX ]; then
TERM=tmux-256color
fi
# vim: filetype=zsh