Hi

PATH for .tmux.conf comes from the shell where you started tmux. Either
start tmux with the PATH you want it to use, or set PATH yourself
explicitly in .tmux.conf.


On Sun, Mar 19, 2017 at 02:03:44PM +0200, Maksym Bevza wrote:
>    Hi all,
>    I have installed tmux with brew on OS X El Capitan and when I was
>    installing tpm**I faced a problem that last command in the .tmux.conf has
>    exit status 127. The command is****run-shell**'~/.tmux/plugins/tpm/tpm'
>    I've debugged it and found out that tmux**binary itself**cannot be found
>    by this script because $PATH variable is too poor.**Running in
>    tmux**:run-shell "echo $PATH" gives the following
>    PATH:**/usr/bin:/bin:/usr/sbin:/sbin
>    The which**tmux**gives**/usr/local/bin/tmux
>    Changing the last line of .tmux.conf to run-shell
>    'PATH="/usr/local/bin:$PATH" ~/.tmux/plugins/tpm/tpm'**doesn't help, since
>    scripts that are invoked by main**tpm script need PATH to be set properly
>    as well.
>    I would appreciate any help.
>    - Maksym
> 
>    --
>    You received this message because you are subscribed to the Google Groups
>    "tmux-users" group.
>    To unsubscribe from this group and stop receiving emails from it, send an
>    email to [1][email protected].
>    To post to this group, send email to [2][email protected].
>    For more options, visit [3]https://groups.google.com/d/optout.
> 
> References
> 
>    Visible links
>    1. mailto:[email protected]
>    2. mailto:[email protected]
>    3. https://groups.google.com/d/optout

-- 
You received this message because you are subscribed to the Google Groups 
"tmux-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to