Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

autoload -X



Hello,

echo "echo Hello" > aload
function aload { local FPATH=`pwd`:$FPATH; autoload -X; }
aload

output:
(eval):1: autoload: function definition file not found

This once worked, I even have old video from this:
https://asciinema.org/a/2dnx2ky1q14hna6bvwfrwsvkr

And it still works inside my Zplugin. Tested various zsh versions,
5.0.2, 5.0.8, 5.2

Best regards,
Sebastian Gniazdowski



Messages sorted by: Reverse Date, Date, Thread, Author