mirror of https://github.com/tmux-plugins/tpm
replaced `if` by `if-shell` in automatic tpm doc
parent
b699a7e01c
commit
aa99619f90
|
@ -5,7 +5,7 @@ One of the first things we do on a new machine is cloning our dotfiles. Not ever
|
|||
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'`:
|
||||
|
||||
```
|
||||
if "test ! -d ~/.tmux/plugins/tpm" \
|
||||
if-shell "test ! -d ~/.tmux/plugins/tpm" \
|
||||
"run 'git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm && ~/.tmux/plugins/tpm/bin/install_plugins'"
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue