From bab318415a862810d73acbfe703542b5300b729f Mon Sep 17 00:00:00 2001 From: bigwheel Date: Sat, 31 Dec 2016 18:06:20 +0900 Subject: [PATCH] Fix automatic tpm installation command in doc --- docs/automatic_tpm_installation.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/automatic_tpm_installation.md b/docs/automatic_tpm_installation.md index 630573f..49e3775 100644 --- a/docs/automatic_tpm_installation.md +++ b/docs/automatic_tpm_installation.md @@ -6,7 +6,9 @@ If you want to install `tpm` and plugins automatically when tmux is started, put ``` if "test ! -d ~/.tmux/plugins/tpm" \ - "run 'git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm && ~/.tmux/plugins/tpm/bin/install_plugins'" + "run 'git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm'; \ + set-environment -g TMUX_PLUGIN_MANAGER_PATH '~/.tmux/plugins/'; \ + run '~/.tmux/plugins/tpm/bin/install_plugins'" ``` This useful tip was submitted by @acr4 and narfman0.