File: changing_plugins_install_dir.md

package info (click to toggle)
tmux-plugin-manager 3.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 256 kB
  • sloc: sh: 940; exp: 167; makefile: 2
file content (16 lines) | stat: -rw-r--r-- 585 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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`.