zgen icon indicating copy to clipboard operation
zgen copied to clipboard

How to load https://github.com/zimfw/archive?

Open scalp42 opened this issue 4 years ago • 1 comments

Hi folks,

I'm trying to load https://github.com/zimfw/archive functions.

zgen load zimfw/archive functions
``

It does seem to make into `fpath` but I can't get it to work:

16:20:26 | echo $FPATH /Users/scalp/.zgen/zimfw/archive-master/functions:/Users/scalp/.zgen/robbyrussell/oh-my-zsh-master/plugins/cp


Am I missing something? Thanks in advance 🙏 

scalp42 avatar Sep 30 '20 23:09 scalp42

Hi @scalp42, zgen is mostly unmaintained. I've created a fork called zgenom which has more features and some bugfixes. It's also 100% backwards compatible.

To answer your question: You're right that the files are added to your $fpath but zsh doesn't automatically autoloads things from your fpath. (Like it does with executables from your path). Adding autoload archive (and autoload unarchive) should make it work 👍

jandamm avatar Oct 07 '20 20:10 jandamm