Fix automatic install of Tmux Plugin Manager

This commit is contained in:
Adam Goldsmith 2023-04-07 23:47:05 -04:00
parent e8b33d4e7d
commit e4d579fa52
1 changed files with 2 additions and 2 deletions

View File

@ -30,8 +30,8 @@ set-option -g @plugin 'tmux-plugins/tpm'
set-option -g @plugin 'noscript/tmux-mighty-scroll'
# install/update tpm
if-shell "test ! -d " \
"run 'git clone https://github.com/tmux-plugins/tpm ~/.config/tmux/plugins/tpm'"
if-shell "test ! -d ~/.config/tmux/plugins/tpm" \
"run 'git clone https://github.com/tmux-plugins/tpm ~/.config/tmux/plugins/tpm'"
run-shell '~/.config/tmux/plugins/tpm/bin/install_plugins'
run-shell '~/.config/tmux/plugins/tpm/bin/clean_plugins'
run-shell '~/.config/tmux/plugins/tpm/bin/update_plugins all'