From ad6131fbec3c9c65a0b235d2ed935cc23acfb7ad Mon Sep 17 00:00:00 2001 From: Marissa Staib Date: Wed, 25 Sep 2019 15:56:53 -0400 Subject: [PATCH] Use environment variable for paths in .tmux.conf --- .tmux.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.tmux.conf b/.tmux.conf index 67bf472..8eb1f2f 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -5,7 +5,7 @@ set-option -g status-keys emacs set-window-option -g mode-keys vi set-window-option -g xterm-keys on bind-key _ split-window -v -source-file %%HOMEDIR%%/.tmux.screen.conf +source-file $TMUX_CONF_DIR/.tmux.screen.conf ##################### # Terminal Properties @@ -19,7 +19,7 @@ set-option -g set-titles on set-option -g set-titles-string "#S - #W (#I.#P) #T" set-option -g status on set-option -g status-justify left -set-option -g status-left "#h#(%%HOMEDIR%%/.tmux.status.sh)" +set-option -g status-left "#h#($TMUX_CONF_DIR/.tmux.status.sh)" set-option -g status-left-length 25 set-option -g status-right "%a %b %d %l:%M%p #[bg=colour21]#S:#I.#P" set-option -g status-interval 5