Ohmyzsh: command not found: compdef

Created on 22 Sep 2015  ·  3Comments  ·  Source: ohmyzsh/ohmyzsh

After update 9c08641 to 918d26e,I got this error:

.oh-my-zsh/plugins/git/git.plugin.zsh:81: command not found: compdef

now versions:

zsh 5.0.5 (x86_64-apple-darwin14.0)
9c08641: (Sat Sep 5 13:30:44 2015) <Robby Russell>    Merge pull request #4299 from mcornella/refactor-frontend-search-plugin
918d26e: (Sun Sep 20 05:17:15 2015) <Robby Russell>  Merge pull request #3664 from apjanke/installer-portable-colors

Most helpful comment

Briefly ran around screaming trying to fix this earlier locally when it suddenly appeared post-update. Can't find the other thread now, but answer seems to be:

Run chmod g-w on anything compaudit complains about & then run compinit.

All 3 comments

Briefly ran around screaming trying to fix this earlier locally when it suddenly appeared post-update. Can't find the other thread now, but answer seems to be:

Run chmod g-w on anything compaudit complains about & then run compinit.

@DomT4 Thank you. It's useful.

for others that this solution did not work, chmod 755 worked for me.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mrgaolei picture mrgaolei  ·  3Comments

cbou picture cbou  ·  3Comments

mukteshkrmishra picture mukteshkrmishra  ·  3Comments

TadorHead picture TadorHead  ·  3Comments

mihnor picture mihnor  ·  3Comments