From aa99619f90e0e6a0c8b6b0be7152c0d827047d28 Mon Sep 17 00:00:00 2001 From: Luis Obis Date: Mon, 14 Nov 2022 18:46:41 +0100 Subject: [PATCH 1/2] 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'" ``` From 658598be5ac01d86682ee23b6e1f8c0c30a9c472 Mon Sep 17 00:00:00 2001 From: Luis Obis Date: Mon, 14 Nov 2022 18:47:50 +0100 Subject: [PATCH 2/2] add hyperlinks to authors for 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 2afd545..5753e6f 100644 --- a/docs/automatic_tpm_installation.md +++ b/docs/automatic_tpm_installation.md @@ -9,4 +9,4 @@ 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'" ``` -This useful tip was submitted by @acr4 and narfman0. +This useful tip was submitted by [@acr4](https://github.com/acr4) and [@narfman0](https://github.com/narfman0).