Angelmmiguel / pm

The easy way to switch between your projects on ZSH
MIT License
193 stars 17 forks source link

Provide completion to allow pm go aweso<tab> #6

Closed dereckson closed 6 years ago

dereckson commented 6 years ago

Git provides completion for references, like branches.

It would be valuable to get this capacity with pm.

dereckson commented 6 years ago

There is a proof of concept by @ygmpkk at https://github.com/ygmpkk/pm/commit/007a78131382813cf83ba9bf0ccffae0a507b2ec

Angelmmiguel commented 6 years ago

Hello @dereckson,

That's perry interesting. I see the it's a fork of pm. @ygmpkk, would you mind to create a PR so we can discuss about the feature?

Thanks!

Angelmmiguel commented 6 years ago

I just merged your PR @ygmpkk. Thank you!

dereckson commented 6 years ago

Yes, thanks @ygmpkk.

A little issue: the plugins=(pm) works for oh-my-zsh, not for genuine zsh.

ygmpkk commented 6 years ago

@dereckson that's right, thank you feedback.