Add .config/tmux/plugins/tpm installation instructions

The README now reflects where it is best to clone tpm based on the tmux.conf location.
This commit is contained in:
Josh Medeski 2023-09-21 11:44:31 -05:00 committed by GitHub
parent 99469c4a9b
commit 974ca8920a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,12 +12,25 @@ See list of plugins [here](https://github.com/tmux-plugins/list).
Requirements: `tmux` version 1.9 (or higher), `git`, `bash`.
Clone TPM:
#### For `~/.tmux.conf` config
If your tmux config is located at `~/.tmux.conf` clone `tpm` to the `~/.tmux/plugins/tpm` directory:
```bash
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
```
#### For `~/.config/tmux/tmux.conf` config
If your tmux config is located at `~/.config/tmux/tmux.conf` clone `tpm` to the `~/.config/tmux/plugins/tpm` directory:
```bash
mkdir ~/.config/tmux/plugins
git clone https://github.com/tmux-plugins/tpm ~/.config/tmux/plugins/tpm
```
### Configuration
Put this at the bottom of `~/.tmux.conf` (`$XDG_CONFIG_HOME/tmux/tmux.conf`
works too):