add general linux conf
This commit is contained in:
25
linux/.tmux.conf
Normal file
25
linux/.tmux.conf
Normal file
@@ -0,0 +1,25 @@
|
||||
# set -g default-terminal "tmux-256color"
|
||||
# Start numbering windows at 1
|
||||
set -g base-index 1
|
||||
set-option -g history-limit 125000
|
||||
|
||||
set-option -g status-style fg="#cccccc",bg="#444444"
|
||||
|
||||
set-option -g message-style fg="#000000",bg="#bfbf40"
|
||||
set-option -g pane-border-style fg="#777777"
|
||||
set-option -g pane-active-border-style fg="#bfbf40"
|
||||
|
||||
set -g status-interval 1
|
||||
|
||||
set -g status-justify centre # center align window list
|
||||
set -g status-left-length 20
|
||||
set -g status-right-length 140
|
||||
set -g status-left '#H • #[default]'
|
||||
set -g status-right '#(tmux-mem-cpu-load --interval 1) • #(uptime | cut -f 4-5 -d " " | cut -f 1 -d ",") • %a %H:%M:%S #[default] %Y-%m-%d'
|
||||
|
||||
# Try screen256-color (https://github.com/tmux/tmux/issues/622):
|
||||
if-shell "test '\( #{$TMUX_VERSION_MAJOR} -eq 2 -a #{$TMUX_VERSION_MINOR} -ge 6 \)'" 'set -g default-terminal "screen-256color"'
|
||||
if-shell "test '\( #{$TMUX_VERSION_MAJOR} -eq 2 -a #{$TMUX_VERSION_MINOR} -ge 6 \)'" 'set -ga terminal-overrides ",screen-256color:Tc"'
|
||||
|
||||
if-shell '\( #{$TMUX_VERSION_MAJOR} -eq 2 -a #{$TMUX_VERSION_MINOR} -lt 6\) -o #{$TMUX_VERSION_MAJOR} -le 1' 'set -g default-terminal "screen-256color"'
|
||||
|
||||
Reference in New Issue
Block a user