From aa99619f90e0e6a0c8b6b0be7152c0d827047d28 Mon Sep 17 00:00:00 2001 From: Luis Obis Date: Mon, 14 Nov 2022 18:46:41 +0100 Subject: [PATCH] replaced `if` by `if-shell` in automatic tpm doc --- docs/automatic_tpm_installation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/automatic_tpm_installation.md b/docs/automatic_tpm_installation.md index 630573f..2afd545 100644 --- a/docs/automatic_tpm_installation.md +++ b/docs/automatic_tpm_installation.md @@ -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'" ```