From 01d2d5addcd63b32363c0b1c1ccda1de498ad5f4 Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Thu, 21 Apr 2022 01:01:00 +0800 Subject: Install tpm by clone instead of submodule --- .tmux.conf | 2 ++ 1 file changed, 2 insertions(+) (limited to '.tmux.conf') diff --git a/.tmux.conf b/.tmux.conf index fe3eee7..f527698 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -61,4 +61,6 @@ set -g @plugin 'tmux-plugins/tmux-resurrect' set -g @plugin 'tmux-plugins/tmux-continuum' set -g @continuum-restore 'on' +if "test ! -d ~/.tmux/plugins/tpm" \ + "run 'git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm && ~/.tmux/plugins/tpm/bin/install_plugins'" run '~/.tmux/plugins/tpm/tpm' -- cgit v1.2.3