Hi, first of all thanks for zgen, moving from antigen and then from oh-my-zsh to prezto was super easy and now everything is faster.
My custom prezto prompt is not loading when the static init script is not generated. I think it is because, when generating the script, prezto and the modules are loaded in place, while the fpath is not modified until the end after generating the script. I can workaround this by modifying fpath myself, but I'd love to keep it clean and just use zgen load.
I guess there are 2 possible solutions:
- Modifying fpath in place in
-zgen-add-to-fpath and then it's not necessary to do it in zgen-apply
- Not loading stuff in place and once the script is generated source it
Let me know what you think.
Hi, first of all thanks for zgen, moving from antigen and then from oh-my-zsh to prezto was super easy and now everything is faster.
My custom prezto prompt is not loading when the static init script is not generated. I think it is because, when generating the script, prezto and the modules are loaded in place, while the fpath is not modified until the end after generating the script. I can workaround this by modifying fpath myself, but I'd love to keep it clean and just use zgen load.
I guess there are 2 possible solutions:
-zgen-add-to-fpathand then it's not necessary to do it inzgen-applyLet me know what you think.