Skip to content

Different behaviour on first load (vs static init script), so custom prezto prompt not loaded #74

@xavistp

Description

@xavistp

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:

  1. Modifying fpath in place in -zgen-add-to-fpath and then it's not necessary to do it in zgen-apply
  2. Not loading stuff in place and once the script is generated source it

Let me know what you think.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions