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

Zsh autocompletion not working on Mac #74

Open
xguardi opened this issue Nov 27, 2019 · 2 comments
Open

Zsh autocompletion not working on Mac #74

xguardi opened this issue Nov 27, 2019 · 2 comments

Comments

@xguardi
Copy link

xguardi commented Nov 27, 2019

Issue Summary

Installing the autocompletion (following instructions) script at:
/usr/local/share/zsh/site-functions
And checking the permissions are all ok, autocompletion does not work

Steps to Reproduce

  1. Install notes on a Mac:
    curl -L https://rawgit.com/pimterry/notes/latest-release/install.sh | zsh

  2. Install autocompletion script
    curl -L https://rawgit.com/pimterry/notes/latest-release/_notes > /usr/local/share/zsh/site-functions/_notes

  3. Set $NOTES_DIRECTORY on .zshrc

  4. Relaunch shell
    notes autocompletion does not work. Other zsh completion scripts for other commands do work

thanks! :-D

@xguardi
Copy link
Author

xguardi commented Nov 27, 2019

OK, running:

$ compinit

On the shell makes it work.

Apparently OMZ does not pick those non-OMZ auto-completion scripts correctly:
zsh-users/zsh-completions#277

And need to run it explicitly on your .zshrc again.

@pimterry
Copy link
Owner

Ok, thanks for letting me know. It sounds like this is just a OMZ config issue? If there's something that should be included in the docs to make this clearer though, I'd happily accept a PR 😃.

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

2 participants