Fix automatic tpm installation command in doc

This commit is contained in:
bigwheel 2016-12-31 18:06:20 +09:00
parent 0ea31ae2d6
commit bab318415a
1 changed files with 3 additions and 1 deletions

View File

@ -6,7 +6,9 @@ If you want to install `tpm` and plugins automatically when tmux is started, put
```
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 'git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm'; \
set-environment -g TMUX_PLUGIN_MANAGER_PATH '~/.tmux/plugins/'; \
run '~/.tmux/plugins/tpm/bin/install_plugins'"
```
This useful tip was submitted by @acr4 and narfman0.