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

git and hub completions are conflicting #68445

Closed
4 tasks done
simonweil opened this issue Jan 7, 2021 · 4 comments
Closed
4 tasks done

git and hub completions are conflicting #68445

simonweil opened this issue Jan 7, 2021 · 4 comments
Labels
outdated PR was locked due to age

Comments

@simonweil
Copy link

Bug report

Please note we will close your issue without comment if you delete, do not read or do not fill out the issue checklist below and provide ALL the requested information. If you repeatedly fail to use the issue template, we will block you from ever submitting issues to Homebrew again.

  • ran brew update and can still reproduce the problem?
  • ran brew doctor, fixed all issues and can still reproduce the problem?
  • ran brew gist-logs <formula> (where <formula> is the name of the formula that failed) and included the output link?
  • if brew gist-logs didn't work: ran brew config and brew doctor and included their output with your issue?

What you were trying to do (and why)

I want to use git completion in the terminal while also having the option to use hub...

What happened (include command output)

I just get a list of files

Command output

Just a list of files in the directory...

What you expected to happen

Get the git commands for completion

Step-by-step reproduction instructions (by running brew install commands)

  1. brew install git
  2. Open a new terminal
  3. git # all is good
  4. brew install hub
  5. Open a new terminal
  6. git # just a list of files
  7. brew uninstall hub
  8. git # all is good
$ brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!

Warning: A newer Command Line Tools release is available.
Update them from Software Update in System Preferences or run:
  softwareupdate --all --install --force

If that doesn't show you an update run:
  sudo rm -rf /Library/Developer/CommandLineTools
  sudo xcode-select --install

Alternatively, manually download them from:
  https://developer.apple.com/download/more/.


Warning: Some installed kegs have no formulae!
This means they were either deleted or installed with `brew diy`.
You should find replacements for the following formulae:
  gem-neovim
  unrar

Warning: Some installed formulae are deprecated or disabled.
You should find replacements for the following formulae:
  archey
  dnsprobe

Warning: Putting non-prefixed coreutils in your path can cause gmp builds to fail.

Warning: Putting non-prefixed findutils in your path can cause python builds to fail.
± brew config
HOMEBREW_VERSION: 2.7.1-137-ga805a5e
ORIGIN: https://github.com/Homebrew/brew
HEAD: a805a5ea16e8d8c38369de16dbe35d3d0fe992ab
Last commit: 2 days ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 76779ddfa3393d60d057f76409842e43470fa733
Core tap last commit: 2 days ago
Core tap branch: master
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CASK_OPTS: []
HOMEBREW_DISPLAY: /private/tmp/com.apple.launchd.WcWquSPL8A/org.macosforge.xquartz:0
HOMEBREW_EDITOR: nvim
HOMEBREW_MAKE_JOBS: 8
HOMEBREW_NO_AUTO_UPDATE: set
Homebrew Ruby: 2.6.3 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_2/bin/ruby
CPU: octa-core 64-bit icelake
Clang: 12.0 build 1200
Git: 2.30.0 => /usr/local/bin/git
Curl: 7.64.1 => /usr/bin/curl
Java: 15, 14.0.2
macOS: 10.15.7-x86_64
CLT: 12.0.26.2
Xcode: 12.3
XQuartz: 2.7.11 => /opt/X11
@SMillerDev
Copy link
Member

That should probably be reported upstream instead. We don't roll our own autocompletes

@simonweil
Copy link
Author

Hmmm, what would be upstream?

@simonweil
Copy link
Author

So, it is a bug in hub and a bug exists for it:
mislav/hub#2684

Suggest to leave this issue open for others with this issue.

@SMillerDev
Copy link
Member

It's an upstream bug so it doesn't belong here, I'm closing this.

@BrewTestBot BrewTestBot added the outdated PR was locked due to age label Feb 7, 2021
@Homebrew Homebrew locked as resolved and limited conversation to collaborators Feb 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
outdated PR was locked due to age
Projects
None yet
Development

No branches or pull requests

3 participants