From da05c2d7eb320a5c90d10e342005066988c3bfd6 Mon Sep 17 00:00:00 2001 From: Andrew Coleman Date: Fri, 18 Jan 2019 12:05:18 -0500 Subject: [PATCH] force xterm-256color in tmux/screen --- bin/change-tmux-term.bash | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 bin/change-tmux-term.bash diff --git a/bin/change-tmux-term.bash b/bin/change-tmux-term.bash new file mode 100644 index 0000000..875ce2b --- /dev/null +++ b/bin/change-tmux-term.bash @@ -0,0 +1,4 @@ +#!/bin/bash +if [[ "$TERM" == "screen" ]] ; then + export TERM=xterm-256color +fi