fixed some weired output in preload

This commit is contained in:
pika 2025-07-07 23:36:33 +02:00
parent 873434819b
commit 6891475ce8

17
.bashrc
View file

@ -49,9 +49,20 @@ if $blesh; then
fi
if $blesh; then
[[ $- == *i* ]] && { source /usr/share/blesh/ble.sh --noattach || source "$HOME/.local/share/blesh/ble.sh" --noattach; }
# Enable history expansion (!!, !$, etc.) in ble.sh
bleopt history_expand_on_space=1
if [[ $- == *i* ]]; then
ble=(
"/usr/share/blesh/ble.sh"
"$HOME/.local/share/blesh/ble.sh"
)
for b in "${ble[@]}"; do
if [[ -e "$b" ]]; then
source "$b" --noattach
break &&
printf "${BLUE}${BOLD}Sourced ble.sh at ${GREEN}$b${NC}\n"
fi
done
fi
fi
# Display stored messages