Fix automatic install of Tmux Plugin Manager
This commit is contained in:
parent
e8b33d4e7d
commit
e4d579fa52
@ -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'
|
||||||
|
Loading…
Reference in New Issue
Block a user