zgen
zgen copied to clipboard
How to load https://github.com/zimfw/archive?
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 🙏
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 👍