some fixes

This commit is contained in:
pika 2025-01-05 21:36:15 +01:00
parent 36c204690d
commit b8c99d4212

View file

@ -219,9 +219,9 @@ _init() {
# ─< loop through and source the plugins >────────────────────────────────────────────────
for plugin in "${plugins[@]}"; do
if [ -f "$plugin" ]; then
echo_plugin "$plugin"
. "$plugin"
if [ -f "$bash_dir/$plugin" ]; then
echo_plugin "$bash_dir/$plugin"
. "$bash_dir/$plugin"
fi
done
fi