Fixing Zsh Compinit Errors After Accidental Brew Update with Non-Brew User #5774
Unanswered
jimmcslim
asked this question in
Everyday usage
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Output of
brew config
Output of
brew doctor
Description of issue
I have three users on my Mac...
admin
: the initial setup account, typeAdmin
jim
: my every day account, typeStandard
brewer
: the account through which I installed Homebrew, typeAdmin
So, if I want to install software through
brew
Isu brewer
andbrew install
,brew update
,brew upgrade
, etc my way to victory.This has worked just fine for quite a while.
However at some recent point in time, I think I accidentally ran
brew update
orbrew upgrade
as myjim
user. And ever since then opening my shell asjim
has resulted in the dreadedcompinit
errors...If I abort and then later run
compaudit
, I get...And looking at permissions of
/opt/homebrew/share/zsh
...They seem reasonable to me. But reading up on
zsh
and completions it suggests that if completions are not owned by root or the current user, or if they are but they are group or world writable, then this fails thezsh
completions security checks. If that is the case... then why haven't I always had this issue with completions?Does anyone have a reliable way of getting completions to work in my installation scenario?
Beta Was this translation helpful? Give feedback.
All reactions