Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loading zplug fails when using hub git wrapper as alias #463

Closed
1 of 4 tasks
mindbound opened this issue Feb 20, 2018 · 3 comments
Closed
1 of 4 tasks

Loading zplug fails when using hub git wrapper as alias #463

mindbound opened this issue Feb 20, 2018 · 3 comments

Comments

@mindbound
Copy link

  • Type:
    • Bug
    • Enhancement
    • Feature Request
    • Question

  • zplug --version: 2.4.2
  • zsh --version: zsh 5.4.2 (x86_64-unknown-linux-gnu)
  • uname -a: Linux [REDACTED] 4.15.3-2-ARCH #1 SMP PREEMPT Thu Feb 15 00:13:49 UTC 2018 x86_64 GNU/Linux
  • git --version: 2.16.2
  • hub --version: 2.2.9

Type: Bug
When using hub as a git wrapper, zplug fails to load with the following error:

[zplug] ERROR: git command not found in $PATH
               zplug depends on git 1.7 or later.

Minimal zshrc

eval "$(hub alias -s zsh)"
source ~/.zplug/init.zsh

zplug load

Steps to reproduce

  1. Install hub;
  2. Add the hub alias (see above) to .zshrc;
  3. Start a new terminal or re-login.
@mindbound mindbound changed the title Loading zplug fails when using hub git wrapper Loading zplug fails when using hub git wrapper as alias Feb 20, 2018
@sepehr
Copy link

sepehr commented Feb 21, 2018

I can confirm this.

dohq added a commit to dohq/zplug that referenced this issue Feb 23, 2018
babarot pushed a commit that referenced this issue Feb 26, 2018
@babarot
Copy link
Member

babarot commented Feb 26, 2018

Thanks to @dohq #466, maybe fixed. Please check it out

@babarot babarot closed this as completed Feb 26, 2018
@mindbound
Copy link
Author

It loads correctly now, thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants