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

Re: _file in _zmodload: why option -/ ?



On Oct 26,  6:25pm, Jun T. wrote:
}
} In Completion/Zsh/Command/_zmodload, line 65,
} 
}       _files -W module_path -/g '*.(dll|s[ol]|bundle)(:r)' && ret=0
} 
} Why the option -/ is necessary here?

I'm not entirely sure, but its effect on _files is to cause symlinks
that point to directories to be followed, so I presume it's to force
symlinks in directories that contain modules to be offered alongside
the modules that happen to be in the same directory.



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