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

View File

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