Closed masonlouchart closed 7 years ago
NOTE
The script shell should check the availability of the both commands to define which of them must be exported. To be honest, I don't have the skills to do this. But, the original repo is born 2 years ago. I hope everyone has upgraded its library with the official GitHub client which is using hub
as command (and not gh
). So we could even remove the export of the gh
command.
Confirmed the issue after updating oh-my-zsh @LM450N, nice catch!
But checking out your fork didn't fix it for me... I'm on MAC OS
During my sleep I was thinking about this PR. I think it shouldn't be accepted. It's not a universal and clear solution. The issue probably comes from an other place (but still from oh-my-zsh).
This commit swaps the two exports of the commands "hub" and "gh" in the aliases. The fact is the export of "gh" overwrites the previous one, and the official GitHub client is using "hub" as command.
See https://github.com/github/hub/issues/475. Closes #209