summaryrefslogtreecommitdiff
path: root/tmux/.tmux/plugins/tpm/docs/changing_plugins_install_dir.md
diff options
context:
space:
mode:
Diffstat (limited to 'tmux/.tmux/plugins/tpm/docs/changing_plugins_install_dir.md')
-rw-r--r--tmux/.tmux/plugins/tpm/docs/changing_plugins_install_dir.md16
1 files changed, 16 insertions, 0 deletions
diff --git a/tmux/.tmux/plugins/tpm/docs/changing_plugins_install_dir.md b/tmux/.tmux/plugins/tpm/docs/changing_plugins_install_dir.md
new file mode 100644
index 0000000..27de96d
--- /dev/null
+++ b/tmux/.tmux/plugins/tpm/docs/changing_plugins_install_dir.md
@@ -0,0 +1,16 @@
+# Changing plugins install dir
+
+By default, TPM installs plugins in a subfolder named `plugins/` inside
+`$XDG_CONFIG_HOME/tmux/` if a `tmux.conf` file was found at that location, or
+inside `~/.tmux/` otherwise.
+
+You can change the install path by putting this in `.tmux.conf`:
+
+ set-environment -g TMUX_PLUGIN_MANAGER_PATH '/some/other/path/'
+
+Tmux plugin manager initialization in `.tmux.conf` should also be updated:
+
+ # initializes TMUX plugin manager in a new path
+ run /some/other/path/tpm/tpm
+
+Please make sure that the `run` line is at the very bottom of `.tmux.conf`.