Skip to content

Commit c5c997b

Browse files
committed
-Add auto plugin installation
1 parent 350fa9e commit c5c997b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/automatic_tpm_installation.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
One of the first things we do on a new machine is cloning our dotfiles. Not everything comes with them though, so for example `tpm` most likely won't be installed.
44

5-
If you wanna install `tpm` automatically when tmux is started, put the following snippet in `.tmux.conf` before the final `run '~/.tmux/plugins/tpm/tpm'`:
5+
If you want to install `tpm` and plugins automatically when tmux is started, put the following snippet in `.tmux.conf` before the final `run '~/.tmux/plugins/tpm/tpm'`:
66

77
```
88
if "test ! -d ~/.tmux/plugins/tpm" \
9-
"run 'git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm'"
9+
"run 'git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm && ~/.tmux/plugins/tpm/bin/install_plugins'"
1010
```
1111

12-
This useful tip was submitted by @acr4.
12+
This useful tip was submitted by @acr4 and narfman0.

0 commit comments

Comments
 (0)