replaced if
by if-shell
in automatic tpm doc
This commit is contained in:
parent
b699a7e01c
commit
aa99619f90
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue