Auto install tpm and plugins
This commit is contained in:
@@ -375,5 +375,9 @@ bind -T off C-q \
|
||||
set -u window-status-current-format \;\
|
||||
refresh-client -S
|
||||
|
||||
# Auto install tpm and plugins automatically when tmux is started
|
||||
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 (must be last)
|
||||
run '~/.tmux/plugins/tpm/tpm'
|
||||
|
||||
Reference in New Issue
Block a user