Fix Vim colours in tmux on macOS.
author |
Ludovic Chabant <ludovic@chabant.com> |
date |
Tue, 12 Dec 2017 22:32:30 -0800 |
parents |
b5d54b669b8c |
children |
f2e130a94842 |
files |
fish/config.fish tmux/tmux.conf |
diffstat |
2 files changed, 3 insertions(+), 0 deletions(-)
[+]
|
line diff
--- a/fish/config.fish Tue Dec 12 22:10:33 2017 -0800
+++ b/fish/config.fish Tue Dec 12 22:32:30 2017 -0800
@@ -17,6 +17,7 @@
set -g -x OS MacOSX
set -g -x EDITOR vim
set -g -x SHELL fish
+set -g -x TERM screen-256color-bce
# Python.
set -g -x VIRTUAL_ENV_DISABLE_PROMPT 1
--- a/tmux/tmux.conf Tue Dec 12 22:10:33 2017 -0800
+++ b/tmux/tmux.conf Tue Dec 12 22:32:30 2017 -0800
@@ -14,3 +14,5 @@
# Default to fish
set -g default-command "fish"
+set -g default-terminal "xterm"
+