diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index 1b28fa8..ebd5227 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -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'