zgen icon indicating copy to clipboard operation
zgen copied to clipboard

Avoid loading autoloaded file

Open syohex opened this issue 3 years ago • 1 comments

In zsh file name convention, file name of which starts with '_' is an autoloaded file. It should not be loaded manually.

This fixes https://github.com/zsh-users/zsh-completions/issues/809

syohex avatar Jul 21 '21 03:07 syohex

I've fixed this issue at zgenom. Your solution prohibits the user to manually load a file which starts with _. zgen load <plugin> path/to/_file.sh would not source this file.

jandamm avatar Jul 25 '21 10:07 jandamm