From 974ca8920ad4d918197e277d5aecb04970cce274 Mon Sep 17 00:00:00 2001 From: Josh Medeski Date: Thu, 21 Sep 2023 11:44:31 -0500 Subject: [PATCH] Add `.config/tmux/plugins/tpm` installation instructions The README now reflects where it is best to clone tpm based on the tmux.conf location. --- README.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2371863..e6e242e 100644 --- a/README.md +++ b/README.md @@ -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):