Skip to content

Commit 0ea31ae

Browse files
authored
Merge pull request tmux-plugins#96 from narfman0/master
Docs change to include auto plugin installation
2 parents 350fa9e + c5c997b commit 0ea31ae

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)