1
0
Fork 0
mirror of synced 2024-12-13 19:05:45 -05:00

replaced if by if-shell in automatic tpm doc

This commit is contained in:
Luis Obis 2022-11-14 18:46:41 +01:00
parent b699a7e01c
commit aa99619f90

View file

@ -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'"
```