-
Notifications
You must be signed in to change notification settings - Fork 387
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-completion, OS X, Homebrew instructions for ZSH #50
Comments
or we can use this step as snoepkast mention here
tested on
|
it does not work with Mac OS 10.13.5 anymore |
On MacOS 10.13.6 I've same problem with git version installed via brew. I've tried any ideas ? |
Found a solution :
|
git version => 2.20.1 oh-my-zsh plugins:
not working :-( |
Did you run exactly the same commands as above ? Because with my command git is installed in version 2.18.0 but yours is 2.20.1 ... |
Worked for me although it gave an error about being deprecated. Just redirect stderr to /dev/null if you hate the error message. |
Yes but when you checked |
My life was saved by Homebrew/homebrew-core@f710a13 |
Thanks, this did the trick. Its a shame we can't install the latest git version without completions. Is there any other workaround to bypass the completion from brews git, so we can have the latest git and force zsh not to use its completions? |
https://github.com/bobthecow/git-flow-completion/wiki/Update-Zsh-git-completion-module
Replace /usr/share/zsh/x.x.xx/functions/_git
In newer versions of OSX this file is restricted
Issue ls -lO /usr/share/zsh/x.x.xx/functions/_git
(capital letter 'oh', not zero);
if you see restricted, SIP is protecting that directory tree.
Solution (from the linked answer):
boot into recovery mode (Command-R during boot)
In terminal, issue crsutil disable
Reboot to normal mode. You should see that SIP is no longer blocking write access.
If you later want to restore SIP, just use crsutil enable in recovery mode.
source: https://superuser.com/a/1159330/8036
The text was updated successfully, but these errors were encountered: