From f9c4fd6e2bf1c0cfb42de1d5f4ddbbbce019c701 Mon Sep 17 00:00:00 2001 From: Eragos Date: Sat, 23 Apr 2016 15:49:08 +0200 Subject: [PATCH] tmux-mem-cpu-load add tmux-mem-cpu-load https://github.com/thewtex/tmux-mem-cpu-load --- .bash_profile | 3 +++ .tmux.conf | 7 ++++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.bash_profile b/.bash_profile index fe048fa..619afb3 100644 --- a/.bash_profile +++ b/.bash_profile @@ -20,6 +20,9 @@ export PS1="\[\033[36m\]\u\[\033[m\]@\[\033[32m\]\h:\[\033[33;1m\]\w\[\033[m\]\$ export CLICOLOR=1 export LSCOLORS=ExFxBxDxCxegedabagacad +#defaults +export EDITOR=vim + # check the window size after each command and, if necessary, # update the values of LINES and COLUMNS. shopt -s checkwinsize diff --git a/.tmux.conf b/.tmux.conf index 2a09f64..157cc6c 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -44,14 +44,15 @@ set -g pane-active-border-fg colour51 # status line set -g status-utf8 on set -g status-justify left -set -g status-interval 2 +set -g status-interval 1 set -g status-position bottom set -g status-bg colour234 set -g status-fg colour137 set -g status-attr dim set -g status-left '' -set -g status-right '#[fg=colour233,bg=colour241,bold] %d/%m #[fg=colour233,bg=colour245,bold] %H:%M:%S ' -set -g status-right-length 50 +set -g status-right "#[fg=colour233,bg=colour245,bold] #(tmux-mem-cpu-load -g 5 --interval 1) %H:%M:%S " + +set -g status-right-length 60 set -g status-left-length 20 # messaging