mirror of
https://github.com/tmux-plugins/tpm.git
synced 2024-12-04 18:58:49 +00:00
Document another "tpm not working" edge case
This commit is contained in:
parent
95f78336c3
commit
b968d8809e
@ -16,6 +16,16 @@ Related [issue #22](https://github.com/tmux-plugins/tpm/issues/22)
|
||||
- ZSH tmux plugin might be causing issues.<br/>
|
||||
If you have it installed, try disabling it and see if `tpm` works then.
|
||||
|
||||
- Are you using `tmux` as a top level shell?<br/>
|
||||
If `tmux` is the top level shell (not started from another shell) then the
|
||||
environment during initialisation could be very minimal. For example, if your
|
||||
`tmux` binary is under `/usr/local/bin` (as it is in macOS when installed with
|
||||
Homebrew) then `tpm` will not find it since `/usr/local/bin` might not be in
|
||||
the `$PATH`. A workaround would be to extend the `$PATH` manually in
|
||||
`.tmux.conf` before loading `tpm`:
|
||||
|
||||
set-environment -g "PATH" "/usr/local/bin:$PATH"
|
||||
|
||||
<hr />
|
||||
|
||||
> Help, I'm using custom config file with `tmux -f /path/to/my_tmux.conf`
|
||||
|
Loading…
Reference in New Issue
Block a user