tarjoilija / zgen

A lightweight and simple plugin manager for ZSH
BSD 2-Clause "Simplified" License
1.5k stars 99 forks source link

Is there any sense that zgen loads some default plugins for prezto? #112

Closed laggardkernel closed 4 years ago

laggardkernel commented 5 years ago

After having a look at the initial script ~.zgen/init.zsh, I found some duplicates in pmodload statement at the end of the file. According to issue #74, the duplicate items added are from default configuration of prezto.

I realized pmodload ensures every plugin is loaded only once. But I don't think the behavior of loading some default plugins in a plugin manager as a good idea, cause priority matters for plugins. Default prezto modules loaded by pmodload breaks the capability for users to control the priority themselves.

Luckily, export ZGEN_PREZTO_LOAD_DEFAULT=0 could avoid the loading of default plugins in prezto.

Some essential priorities for plugins in prezto:

laggardkernel commented 4 years ago

Closed because of inactivity.