commit afbbfee8187811335220f7ac0d4153b719b68662
| author | 斟酌 鵬兄 <tgckpg@gmail.com> |
| date | 2022-08-15T12:02:04Z |
| subject | Fixed sources not loading in some cases |
commit afbbfee8187811335220f7ac0d4153b719b68662
Author: 斟酌 鵬兄 <tgckpg@gmail.com>
Date: 2022-08-15T12:02:04Z
Fixed sources not loading in some cases
---
bash/bashrc/rbashrc | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/bash/bashrc/rbashrc b/bash/bashrc/rbashrc
index 953cbe4..c825dea 100644
--- a/bash/bashrc/rbashrc
+++ b/bash/bashrc/rbashrc
@@ -111,9 +111,10 @@ function rbash_cache {
}
_RBASH_LOADED=
-if [ ! -d "$RBASH_SOURCES" ]; then
+mkdir -p "$RBASH_SOURCES"
+
+if [ ! -f "$RBASH_SOURCES/merged" ]; then
_RBASH_MERGE_START=1
- mkdir -p "$RBASH_SOURCES"
fi
function rbash_load {