1
0
Fork 0
mirror of synced 2024-12-27 16:33:21 -05:00
zimfw/templates
Eric Nielsen 55df5a4755 [template] Use zrecompile and create digest file
for the autoloaded functions. According to the `zshbuiltins`
documentation:

    Files containing multiple compiled functions are called `digest'
    files,  and are intended to be used as elements of the FPATH/fpath
    special array.

Compile all module init files, instead of some selected ones.
This didn't impact performance much (time to run async block in zlogin
when from 0.22s to 0.25s on my machine).

Also refactor the zim `init.zsh` script, and do not unset `zmodules`
anymore because we need it in zlogin.

Didn't manage to make adding the prompt `prompt_*_setup` functions to
the digest file work, so kept these separate.

Fixes #86. Closes #218.
2017-11-24 19:08:11 -05:00
..
zimrc Add git-info zmodule to templates/zimrc 2017-03-27 13:56:47 -07:00
zlogin [template] Use zrecompile and create digest file 2017-11-24 19:08:11 -05:00
zshrc Allow arbitrary ZIM location with ZIM_HOME 2017-09-04 17:25:01 -05:00