aboutsummaryrefslogtreecommitdiff
path: root/.tmux.conf
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2022-04-21 01:01:00 +0800
committerGuangxiong Lin <[email protected]>2022-04-21 01:01:00 +0800
commit01d2d5addcd63b32363c0b1c1ccda1de498ad5f4 (patch)
tree5ad38fc325112ba4a4d6b39ce40ebdf3531ec156 /.tmux.conf
parentdadd4850b32b697e1324e3d9e47f74c01be15500 (diff)
downloaddotfiles-01d2d5addcd63b32363c0b1c1ccda1de498ad5f4.tar.gz
dotfiles-01d2d5addcd63b32363c0b1c1ccda1de498ad5f4.tar.bz2
dotfiles-01d2d5addcd63b32363c0b1c1ccda1de498ad5f4.zip
Install tpm by clone instead of submodule
Diffstat (limited to '.tmux.conf')
-rw-r--r--.tmux.conf2
1 files changed, 2 insertions, 0 deletions
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'