mirror of
https://github.com/tmux-plugins/tpm.git
synced 2025-09-14 00:46:56 +00:00
Undeprecate 'set -g @tpm_plugins'
This commit is contained in:
@ -14,6 +14,32 @@ Here's the list of issues users had with `tpm`:
|
||||
- ZSH tmux plugin might be causing issues.<br/>
|
||||
If you have it installed, try disabling it and see if `tpm` works then.
|
||||
|
||||
> Help, I'm using `tmux -f /path/to/my_tmux.conf` option to start Tmux and for
|
||||
some reason plugins aren't loaded!?
|
||||
|
||||
[Issue #57](https://github.com/tmux-plugins/tpm/issues/57)
|
||||
|
||||
`tpm` has a known issue when using alternative config file with `-f` option.
|
||||
The solution is to use alternative plugin definition. Here are the steps to
|
||||
make it work:
|
||||
|
||||
1. remove all `set -g @plugin` lines from tmux config file
|
||||
2. in the config file define the plugins in the following way:
|
||||
|
||||
# List of plugins
|
||||
set -g @tpm_plugins ' \
|
||||
tmux-plugins/tpm \
|
||||
tmux-plugins/tmux-sensible \
|
||||
tmux-plugins/tmux-resurrect \
|
||||
'
|
||||
|
||||
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
|
||||
run '~/.tmux/plugins/tpm/tpm'
|
||||
|
||||
3. Reload TMUX environment so TPM is sourced: `$ tmux source /path/to/my_tmux.conf`
|
||||
|
||||
The plugins should now be working.
|
||||
|
||||
> Weird sequence of characters show up when installing or updating plugins
|
||||
|
||||
[Issue #25](https://github.com/tmux-plugins/tpm/issues/25)
|
||||
|
Reference in New Issue
Block a user