Bashish has a functionality to load modules to extend functionality of the prompt, usually such modules provides useful variables or functions that simplifies prompt creation.
The loadable theme modules are not meant to extend terminal theming, this is better handled by modifying the profile generator (see section 7.4).
The modules are loaded in the beginning of the theme file with the needmod command. needmod only loads the module once, thus a creator of such modules may not need special cases to disable twice-loading.
needmod <MODULE>
- end -
The modules are located in $BASHISHDIR/modules/sh/ .