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-flow auto-compeletion not work #993

Closed
zx1986 opened this issue Oct 12, 2015 · 6 comments
Closed

git-flow auto-compeletion not work #993

zx1986 opened this issue Oct 12, 2015 · 6 comments

Comments

@zx1986
Copy link

zx1986 commented Oct 12, 2015

After update git & prezto, my git-flow-avh auto-compeletion not works anymore :-(
I had google for a while, any clues or debug method I can try?

prezto version:

commit f2a826e963f06a204dc0e09c05fc3e5419799f52
Author: Sorin Ionescu <[email protected]>
Date:   Sun May 31 16:51:29 2015 -0400

config:

zstyle ':prezto:load' pmodule \
  'environment' \
  'terminal' \
  'git' \
  'editor' \
  'history' \
  'directory' \
  'spectrum' \
  'utility' \
  'completion' \
  'prompt'

zsh version:

zsh 5.1.1 (x86_64-apple-darwin14.5.0)

git version:

2.6.1 

homebrew:

brew list git                                                                                                                            
/usr/local/Cellar/git/2.6.1/bin/git
/usr/local/Cellar/git/2.6.1/bin/git-credential-osxkeychain
/usr/local/Cellar/git/2.6.1/bin/git-cvsserver
/usr/local/Cellar/git/2.6.1/bin/git-receive-pack
/usr/local/Cellar/git/2.6.1/bin/git-shell
/usr/local/Cellar/git/2.6.1/bin/git-subtree
/usr/local/Cellar/git/2.6.1/bin/git-upload-archive
/usr/local/Cellar/git/2.6.1/bin/git-upload-pack
/usr/local/Cellar/git/2.6.1/bin/gitk
/usr/local/Cellar/git/2.6.1/etc/bash_completion.d/ (2 files)
/usr/local/Cellar/git/2.6.1/lib/perl5/ (14 files)
/usr/local/Cellar/git/2.6.1/libexec/git-core/ (188 files)
/usr/local/Cellar/git/2.6.1/Library/Perl/Updates/5.18.2/darwin-thread-multi-2level/perllocal.pod
/usr/local/Cellar/git/2.6.1/share/doc/ (768 files)
/usr/local/Cellar/git/2.6.1/share/git-core/ (156 files)
/usr/local/Cellar/git/2.6.1/share/git-gui/ (60 files)
/usr/local/Cellar/git/2.6.1/share/gitk/ (12 files)
/usr/local/Cellar/git/2.6.1/share/gitweb/ (5 files)
/usr/local/Cellar/git/2.6.1/share/man/ (178 files)
/usr/local/Cellar/git/2.6.1/share/zsh/ (2 files)

git-flow-avh:

/usr/local/Cellar/git-flow-avh/1.8.0/bin/git-flow
/usr/local/Cellar/git-flow-avh/1.8.0/etc/bash_completion.d/git-flow-completion.bash
/usr/local/Cellar/git-flow-avh/1.8.0/libexec/bin/ (11 files)
/usr/local/Cellar/git-flow-avh/1.8.0/libexec/share/ (37 files)
/usr/local/Cellar/git-flow-avh/1.8.0/share/zsh/site-functions/git-flow-completion.zsh
@sorin-ionescu
Copy link
Owner

I do not use git-flow. If Git comes with a git-flow completion, it may be updating Git that broke it.

@zx1986
Copy link
Author

zx1986 commented Oct 30, 2015

ok, not a prezto issue. I am sorry about that.
After I remove prezto or oh-my-zsh, it still broken.

@fatuhoku
Copy link

@zx1986 How did you fix it?

@zx1986
Copy link
Author

zx1986 commented Dec 19, 2015

@fatuhoku I haven't fix it yet :-(

@zx1986
Copy link
Author

zx1986 commented Dec 22, 2015

@fatuhoku Maybe you could try this: ohmyzsh/ohmyzsh#1717

$ brew uninstall git
$ brew install git --without-completions

@zx1986
Copy link
Author

zx1986 commented Oct 1, 2018

Seems --without-completions don't support anymore.

$ brew info git  

git: stable 2.19.0 (bottled), HEAD
Distributed revision control system
https://git-scm.com
/usr/local/Cellar/git/2.19.0_1 (1,512 files, 318.2MB) *
  Poured from bottle on 2018-09-26 at 14:17:43
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/git.rb

==> Dependencies
Required: gettext ✔, pcre2 ✔
Optional: openssl ✔, curl ✘

==> Options
--with-curl
        Use Homebrew's version of cURL library
--with-openssl
        Build with Homebrew's OpenSSL instead of using CommonCrypto
--HEAD
        Install HEAD version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants