bobthecow / git-flow-completion

Bash, Zsh and fish completion support for git-flow.
MIT License
2.79k stars 385 forks source link

Note for ubuntu users or gitfast completion users #59

Open Brettdah opened 2 years ago

Brettdah commented 2 years ago

Hello there,

The following is more a note for future user, who will as me encounter a completion problem with oh-my-zsh, your plugin and other completion plugin as gitfast, than a real issue.

First a bit of context: I'm using WSL with ubuntu 20.04 My shell is ZSH tuned by oh-my-zsh

I followed this part of the install how to: iii

And important I'm using gitfast and want to add git-flow-completion features!

Today I tried this plugin on my ubuntu 20.04 and had to search for a few hours why it did not work! So first since ubuntu 18.04 the official repositories are offering git-flow AVH

But I just saw this option and of course, I did not check for incompatibilities about this plugin and git-flow AVH, will do tomorrow thought, and for me it did not work...

Then I'm using gitfast plugin, and that I tested it, there is something that is not compatible with the git-flow-completion plugin as when trying to use git flow in[tab] like this problem:

Then I search in all the 400+ Fork if someone corrected this issue and I found the PR of lhernanz So I selected the most recents changed from all the fork to avoid beeing to far away from the last release, if zsh or oh-my-zsh decided to change something, so I forked wizard-28 fork who applied a change 4 month ago and then apply the patch from lhernanz PR. After a reload of my terminal (exec zsh) all worked well \o/

Now, well next week-end, all I need to do is compare with the other 400 whitch one got the more complete plugin and apply the lhernanz patch again xD