From e71b90df58194c0a2db8d00c359726675d67621a Mon Sep 17 00:00:00 2001 From: "David Todd (c0de)" Date: Wed, 16 May 2018 18:30:31 -0500 Subject: [PATCH] Automatically install TPM plugins upon initial launch Otherwise, the user has to remember to `^a I` when inside tmux --- tmux.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tmux.conf b/tmux.conf index f8ec24d..8c5da86 100644 --- a/tmux.conf +++ b/tmux.conf @@ -174,6 +174,9 @@ set -g @plugin 'tmux-plugins/tmux-logging' # Plugin settings here set -g @continuum-restore 'on' +# Automatically install TPM plugins (eg. first launch) +setenv -g TMUX_PLUGIN_MANAGER_PATH '$HOME/.tmux/plugins/' + # Install TPM if it does not exist if "test ! -d ~/.tmux/plugins/tpm" \ "run 'git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm && ~/.tmux/plugins/tpm/bin/install_plugins'"