This commit is contained in:
pika 2025-01-05 23:42:46 +01:00
parent 86234726fd
commit 8cca584f20

View file

@ -429,19 +429,20 @@ i_blesh() {
cd "$tmp_dir" || echo_error "$tmp_dir is not valid!"
git clone --recursive --depth 1 --shallow-submodules https://github.com/akinomyoga/ble.sh.git
make -C ble.sh install PREFIX=~/.local
cd "$HOME" || return 0
bash
# cd "$HOME" || return 0
}
_blesh() {
if [[ ! -f $HOME/.local/share/blesh/ble.sh ]]; then
d_blesh # Dependency check for blesh
echo_info "Installing blesh.. Depending on your internet connection and the performance of the client, this could take a minute or two.."
i_blesh && # installing blesh silently
bash
i_blesh# installing blesh silently
else
# . "$HOME/.local/share/blesh/ble.sh" --attach=none
. "$HOME/.local/share/blesh/ble.sh"
fi
}
_games() {
if command_exists curl; then
@ -451,8 +452,6 @@ _blesh() {
fi
}
}
_color_prompt_() {
# set a fancy prompt (non-color, unless we know we "want" color)
case "$TERM" in