]> arthur.barton.de Git - ax-zsh.git/commit
50_completion: Try to find all available completion functions
authorAlexander Barton <alex@barton.de>
Mon, 22 Mar 2021 21:20:09 +0000 (22:20 +0100)
committerAlexander Barton <alex@barton.de>
Mon, 22 Mar 2021 21:20:09 +0000 (22:20 +0100)
commita32e67a9348051f44966cfe67982c6865989cfc3
tree992250aa459338d76aaf383cba25ee49874005b3
parent1354f4039d9295c39802c308c3acae7e2887f1ec
50_completion: Try to find all available completion functions

Try to add all folders possibly containing completion functions to the
fpath before calling compinit. See <https://github.com/ohmyzsh/ohmyzsh/issues/4614>
for a discussion of this topic, for example. It boils down to:

1. We have to call compinit early,
2. but plugins can add completions later, that won't be found ...
core/50_completion/50_completion.zshrc