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

Split git and hub completion scripts #1600

Open
sgallagher opened this issue Oct 16, 2017 · 2 comments
Open

Split git and hub completion scripts #1600

sgallagher opened this issue Oct 16, 2017 · 2 comments

Comments

@sgallagher
Copy link
Contributor

Not everyone that installs hub wishes to use the git alias. Unfortunately, we can't install bash-completion for just hub, because the script that provides it also takes over the git completion.

Please provide separate completion scripts for both git and hub so that they can be installed independently.

@ktdreyer
Copy link

In my case I type git br and hit "tab" to show the completion options, and "browse" is a hub-only option.

Can we have the bash completion script do a sanity-check that "git" is aliased as "hub" before activating the completion settings for "git"?

@jonasfj
Copy link

jonasfj commented Apr 17, 2018

To workaround this I deleted the line with browse, now git br<tab> works again.
This is obviously an ugly hack.

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