Table of Contents
fpathis a array of directories which contain function files to be autoloaded
autoloaddoes is to mark that name as being a function rather than an external program.
- The function has to be in a file on its own, with the filename the same as the function name.
- In general, you should be using
autoload -Uz <filename>
If you want to use
compinit, you should call
autoload for it before using it, otherwise the name
compinit will be simply an unknown command. This goes a common idiom as following: