aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2020-12-18 06:27:54 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2020-12-18 06:27:54 +0300
commitd4e410f1fedc408364e2daf0bfc0e6136da7bbfe (patch)
tree3b91def06d57fcc03ab5513c03de7653333e8c9f
parent.tmux.conf: more comments (diff)
downloadlinux-home-d4e410f1fedc408364e2daf0bfc0e6136da7bbfe.tar.gz
linux-home-d4e410f1fedc408364e2daf0bfc0e6136da7bbfe.zip
tmux: fix colors
-rw-r--r--%HOME%/.tmux.conf10
1 files changed, 8 insertions, 2 deletions
diff --git a/%HOME%/.tmux.conf b/%HOME%/.tmux.conf
index 3f8bf74..268025a 100644
--- a/%HOME%/.tmux.conf
+++ b/%HOME%/.tmux.conf
@@ -10,6 +10,12 @@ unbind C-b
set -g prefix C-j
bind -n M-j send-prefix
+# The default seems to be "screen" on my machine, and if I ssh to a remote
+# system, all the 256 colors might not be supported. Check using this script:
+# https://superuser.com/a/285400. I'm eager to see what kinds of trouble it
+# will bring me.
+set -g default-terminal "screen-256color"
+
# Why launch a login shell?
set -g default-command "${SHELL}"
@@ -138,5 +144,5 @@ if-shell 'uname | grep -q -F Linux && which xsel' {
# Highlight active window panes/windows, might not work so well depending on
# your color scheme.
set-window-option -g window-status-current-style bg=red
-set-window-option -g window-style bg=#000000
-set-window-option -g window-active-style bg=#181818
+set-window-option -g window-style bg=colour232
+set-window-option -g window-active-style bg=colour234