Skip to content

Commit

Permalink
Make Tmux auto-install TPM and plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
vicnett committed Nov 7, 2024
1 parent bc80c69 commit 25a7ec9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion byobu/.tmux.conf
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,9 @@ set -g @resurrect-strategy-nvim 'session'
# Always keep window numbers sequential without gaps
set-option -g renumber-windows on

# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
# Install TPM if not found
if "test ! -d ~/.tmux/plugins/tpm" \
"run 'git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm && ~/.tmux/plugins/tpm/bin/install_plugins'"

# Initialize TPM (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'

0 comments on commit 25a7ec9

Please sign in to comment.