shell-things/conf/tmux-old-ncurses.bash
Mikaela Suomalainen 6b46e82aaf tmux.conf: use tmux-256color
For older systems use tmux-old-ncurses.bash (also added in this commit)
for forcing screen-256color instead.

From what I have understood the difference is that screen-256color
doesn't handle italics or something.
2015-09-27 09:26:51 +03:00

7 lines
182 B
Bash
Executable File

#!/usr/bin/env bash
# Intended for systems with ncurses < 6 which is missing TERMINFO
# for tmux-256color.
if [[ $TERM == 'tmux-256color' ]]; then
export TERM=screen-256color
fi