From 5e8edefa6a84a5059d0c297bf4bbc39f95adab9e Mon Sep 17 00:00:00 2001 From: Willem Haffmans Date: Tue, 10 Sep 2024 22:23:39 +0000 Subject: [PATCH] no submodules --- tmux.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tmux.conf b/tmux.conf index 88b890f..09e5e8a 100644 --- a/tmux.conf +++ b/tmux.conf @@ -1,4 +1,5 @@ # List of plugins +set-environment -g TMUX_PLUGIN_MANAGER_PATH '~/.config/tmux/plugins' set -g @plugin 'tmux-plugins/tpm' set -g @plugin 'tmux-plugins/tmux-sensible' set -g @plugin 'TanglingTreats/tmux-everforest' # Adds to the list of plugins @@ -40,6 +41,9 @@ setw -g pane-base-index 1 # Put tmux bar on top set-option -g status-position top +if "test ! -d ~/.config/tmux/plugins/tpm" \ + "run 'git clone https://github.com/tmux-plugins/tpm ~/.config/tmux/plugins/tpm && ~/.config/tmux/plugins/tpm/bin/install_plugins'" + # Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf) run '~/.config/tmux/plugins/tpm/tpm'