pimterry/notes

Zsh autocompletion not working on Mac

xguardi opened this issue · 2 comments

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

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.

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 😃.