This commit is contained in:
pika 2025-05-22 10:35:57 +02:00
parent 9c487ce6d2
commit 74357e75d7
2 changed files with 12 additions and 28 deletions

View file

@ -1,26 +0,0 @@
_plugins() {
local bash_dir="$HOME/.bash/plugins"
if [ -d "$bash_dir" ]; then
echo_info "Plugins will be loadet.."
# ─< plugins to configure (usually just the filename in the plugins list) >───────────────
local plugAutopairs="autopairs.sh"
local sshCompletion="ssh"
# ─< active plugins >─────────────────────────────────────────────────────────────────────
plugins=(
"$plugAutopairs"
"$sshCompletion"
)
# ─< loop through and source the plugins >────────────────────────────────────────────────
for plugin in "${plugins[@]}"; do
if [ -f "${bash_dir}/${plugin}" ]; then
echo_plugin "${bash_dir}/${plugin}"
. "${bash_dir}/${plugin}"
fi
done
fi
}
_plugins