ZeroKnight / dotfiles

Just my dotfiles and other various configs. Nothing to see here.
3 stars 0 forks source link

Add modules array for load order #9

Closed ZeroKnight closed 8 years ago

ZeroKnight commented 8 years ago

Feed the filename generation line module names from a $zmodules array. This allows for:

Load order is important for modules like completion and syntax-highlighting that depend on settings introduced by other modules. This can not be achieved currently, as straight filename generation produces a strictly lexicographical load order. Alternatively, modules could just be named like ##-name similar to some linux rc files, but I don't exactly find this method to be "clean".