diff options
author | Guangxiong Lin <[email protected]> | 2022-04-21 01:01:00 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2022-04-21 01:01:00 +0800 |
commit | 01d2d5addcd63b32363c0b1c1ccda1de498ad5f4 (patch) | |
tree | 5ad38fc325112ba4a4d6b39ce40ebdf3531ec156 | |
parent | dadd4850b32b697e1324e3d9e47f74c01be15500 (diff) | |
download | dotfiles-01d2d5addcd63b32363c0b1c1ccda1de498ad5f4.tar.gz dotfiles-01d2d5addcd63b32363c0b1c1ccda1de498ad5f4.tar.bz2 dotfiles-01d2d5addcd63b32363c0b1c1ccda1de498ad5f4.zip |
Install tpm by clone instead of submodule
-rw-r--r-- | .gitmodules | 3 | ||||
-rw-r--r-- | .tmux.conf | 2 | ||||
m--------- | .tmux/plugins/tmux-continuum | 0 | ||||
m--------- | .tmux/plugins/tmux-resurrect | 0 | ||||
m--------- | .tmux/plugins/tmux-sensible | 0 | ||||
m--------- | .tmux/plugins/tmux-sessionist | 0 | ||||
m--------- | .tmux/plugins/tpm | 0 |
7 files changed, 2 insertions, 3 deletions
diff --git a/.gitmodules b/.gitmodules deleted file mode 100644 index c1680c5..0000000 --- a/.gitmodules +++ /dev/null @@ -1,3 +0,0 @@ -[submodule ".tmux/plugins/tpm"] - path = .tmux/plugins/tpm - url = https://github.com/tmux-plugins/tpm/ @@ -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' diff --git a/.tmux/plugins/tmux-continuum b/.tmux/plugins/tmux-continuum deleted file mode 160000 -Subproject fc2f31d79537a5b349f55b74c8ca69abaac1ddb diff --git a/.tmux/plugins/tmux-resurrect b/.tmux/plugins/tmux-resurrect deleted file mode 160000 -Subproject 6050d2d8d8a9052c6a30e88fa27e6d5e3844e52 diff --git a/.tmux/plugins/tmux-sensible b/.tmux/plugins/tmux-sensible deleted file mode 160000 -Subproject 5d089e418efb1a00f47654014ed085deb3d0c87 diff --git a/.tmux/plugins/tmux-sessionist b/.tmux/plugins/tmux-sessionist deleted file mode 160000 -Subproject 09ec86be38eae98ffc27bd0dde605ed10ae0dc8 diff --git a/.tmux/plugins/tpm b/.tmux/plugins/tpm deleted file mode 160000 -Subproject b699a7e01c253ffb7818b02d62bce24190ec101 |