dotfiles

$HOME is where the <3 is
git clone git://git.alexkarle.com/dotfiles.git
Log | Files | Refs | Submodules | README

commit 8f1d6a8a57e05e3f871ed8d9d777b7908a96ca70 (patch)
parent d022c5a90e4b18737bf4aafe96e861f5451509c6
Author: Alex Karle <alex@alexkarle.com>
Date:   Mon, 28 Sep 2020 23:34:03 -0400

tmux: Remove slstatus by default, source ~/.tmux.conf.local

Like many of my configs, I'm finding I like them slightly different
on different machines. In this case, I don't need slstatus on most
of my machines (i.e. on my laptop, I've got it running in the dwm
desktop); however, in certain circumstances (i.e. remoting into work
via SSH), it's super handy to have it.

To work around this, the .tmux.conf file now sources ~/.tmux.conf.local
if it exists, providing out-of-git local overrides.

Diffstat:
M.tmux.conf | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/.tmux.conf b/.tmux.conf @@ -60,5 +60,8 @@ bind -T copy-mode-vi P send -X clear-selection \; send -X start-of-line \; send # Status set -g status-interval 60 set -g status-left-length 20 -set -g status-right "[$USER@#h] #(slstatus -s)%D %H:%M" +set -g status-right "[$USER@#h] %D %H:%M" set -g status-right-length 90 + +# Finally, let the .local copy override anything here +if 'test -e $HOME/.tmux.conf.local' 'source-file $HOME/.tmux.conf.local'