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

Running zulu init script breaks autocompletion with zsh 5.7.1 and oh-my-zsh #111

Open
andrea-zanetti opened this issue May 19, 2019 · 2 comments

Comments

@andrea-zanetti
Copy link

Running the initialization script will prompt the following error message:

zulu init ✔ Switched to Zulu master _zulu_init_setup_completion:9: compinit: function definition file not found _zulu_init:61: promptinit: function definition file not found zsh: prompt: command not found...

then autocompletion fails with
expand-or-complete-with-indicator:3: _main_complete: function definition file not found

@nscotto
Copy link

nscotto commented Jun 2, 2019

Same error for me using zulu without oh-my-zsh.

@wickkidd
Copy link

wickkidd commented Feb 3, 2020

Same here (without oh-my-zsh) after upgrading my macbook to 10.15 (Catalina).

-edit-

For me the problem was that zulu had set my fpath when my mac had zsh 5.3 installed. One of the references was to a folder name based on that version. Catalina installed zsh version 5.7.1. I updated the folder name and everything worked again.

file: ~/.config/zulu/fpath

old value:

/Users/bkidd/.zsh/completion
/Users/bkidd/.zulu/share
/usr/local/share/zsh/site-functions
/usr/share/zsh/site-functions
/usr/share/zsh/5.3/functions

new value:

/Users/bkidd/.zsh/completion
/Users/bkidd/.zulu/share
/usr/local/share/zsh/site-functions
/usr/share/zsh/site-functions
/usr/share/zsh/5.7.1/functions

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

No branches or pull requests

3 participants