You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I am compiling the mosh(a ssh client for mobile network) program from source code using the traditional config + make process. During the config process, the system's install program (/usr/bin/install -c) is required. However, zplug also has an install program ($HOME/.zplug/bin/install), which causes the config to call zplug's install program, resulting in a failure to run.
One solution is to run echo $PATH, manually delete $HOME/.zplug/bin/, and then reset the PATH environment variable.
Although this cannot be considered a bug, I think it is not ideal to conflict with the system's default program. Perhaps zplug can limit its install to its own use?
To Reproduce
Steps to reproduce the behavior:
run which install, it print zplug's install rather than system's.
Expected behavior
zplug don't export its install program to PATH
uname -a: Linux Ubuntu22 5.15.0-56-generic Ubuntu SMP Tue Nov 22 19:54:14 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Minimal zshrc (with less than 30 lines)
Create a minimal reproducing set of configurations for this issue. Please remove all unnecessary parts!
############### zplug##########source~/.zplug/init.zsh
# Install plugins if there are plugins that have not been installedif! zplug check --verbose;thenprintf"Install? [y/N]: "ifread -q;thenecho; zplug install
fifi# Then, source plugins and add commands to $PATH
zplug load
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Describe the bug
I am compiling the mosh(a ssh client for mobile network) program from source code using the traditional config + make process. During the config process, the system's install program (/usr/bin/install -c) is required. However, zplug also has an install program ($HOME/.zplug/bin/install), which causes the config to call zplug's install program, resulting in a failure to run.
One solution is to run echo $PATH, manually delete $HOME/.zplug/bin/, and then reset the PATH environment variable.
Although this cannot be considered a bug, I think it is not ideal to conflict with the system's default program. Perhaps zplug can limit its install to its own use?
To Reproduce
Steps to reproduce the behavior:
run
which install
, it print zplug's install rather than system's.Expected behavior
zplug don't export its install program to PATH
Screenshots
Env (please complete the following information):
zplug version
: commit 18cfcd4zsh --version
: zsh 5.8.1 (x86_64-ubuntu-linux-gnu)uname -a
: Linux Ubuntu22 5.15.0-56-generic Ubuntu SMP Tue Nov 22 19:54:14 UTC 2022 x86_64 x86_64 x86_64 GNU/LinuxMinimal zshrc (with less than 30 lines)
Create a minimal reproducing set of configurations for this issue. Please remove all unnecessary parts!
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: