tui.plugin.scan
tui.plugin.scan
Discovers plugins (NAME.plugin.sh files and NAME/plugin.sh folders) and registers them, disabled.
Notes
- Folders, in order:
~/.config/DABT/plugins(TUI_PLUGINS_DIR), the app’splugins/,share/plugins(when DABT is not installed), then each folder inTUI_PLUGIN_DIRS(colon-separated). Add more withtui.plugin.dir_addfirst. - When two folders hold a plugin of the same name, the first one wins; the other fails to register.
tui.initruns it throughtui.plugin.startup.
