notes
notes copied to clipboard
Zsh autocompletion not working on Mac
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
-
Install notes on a Mac: curl -L https://rawgit.com/pimterry/notes/latest-release/install.sh | zsh
-
Install autocompletion script curl -L https://rawgit.com/pimterry/notes/latest-release/_notes > /usr/local/share/zsh/site-functions/_notes
-
Set $NOTES_DIRECTORY on .zshrc
-
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: https://github.com/zsh-users/zsh-completions/issues/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 :smiley:.