baz-extra-plugin-fns/plugin/functions/baz_load_all
Ari Archer 1f070e7d4c
init
Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
2022-11-19 14:21:14 +02:00

11 lines
239 B
Bash

#!/usr/bin/env bash
local start ret
start="$(date +%s%N)"
baz_load_plugins "$BAZ_LOAD_DIR"/*
ret="$?"
baz_load_log "Loading all plugins took ~$(($(("$(date +%s%N)" - start)) / 1000000)) ms (this is quite inaccurate)" >&2
return "$ret"