Archived
1
0
Fork 0

Fix tmux input/colors on GNOME terminal using shell set by tmux

This commit is contained in:
Christoph Heiss 2019-07-02 15:57:59 +02:00
parent 0b1fede48b
commit 1e30235927
Signed by: c8h4
GPG key ID: 73D5E7FDEE3DE49A

View file

@ -28,7 +28,7 @@ set-option -g status-interval 1
set-option -g status-justify centre # center align window list
set-option -g status-left-length 140
set-option -g status-right-length 140
set-option -g status-left '#[fg=green,bright]#H #[default,fg=blue,dim]#(tmux-mem-cpu-load -g 0 -a 0 -i 4)#[default]'
set-option -g status-left '#[fg=green,bright]#H #[default,fg=blue,dim]#($HOME/local/bin/tmux-mem-cpu-load -g 0 -a 0 -i 4)#[default]'
set-option -g status-right '#[fg=red,dim]#(uptime -p | sed -r s/hours?/h/ | sed -r s/minutes?/min/) #[default,fg=white,bright]%a %l:%M:%S %p #[fg=blue]%Y-%m-%d'
# C-b is not acceptable -- Vim uses it
@ -76,7 +76,7 @@ set-option -g history-limit 5000
set-window-option -g automatic-rename
# Terminal color support
set-option -g default-terminal "screen-256color-bce"
set-option -g default-terminal "screen-256color"
# Vi copypaste mode
set-option -g mode-keys vi
@ -85,3 +85,6 @@ bind-key -Tcopy-mode-vi y send -X copy-selection-and-cancel
# Disable mouse support
set-option -g mouse off
# Force zsh
set-option -g default-shell /usr/bin/zsh