From b8c99d421225d72ba9bb20151dd2e4a18bab13ab Mon Sep 17 00:00:00 2001 From: pika <67532734+pik4li@users.noreply.github.com> Date: Sun, 5 Jan 2025 21:36:15 +0100 Subject: [PATCH] some fixes --- .bashrc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.bashrc b/.bashrc index 6492a94..881ca9e 100644 --- a/.bashrc +++ b/.bashrc @@ -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