From 9dce1b172860e7a8ae05dfcde89f683dc492281d Mon Sep 17 00:00:00 2001 From: pika <67532734+pik4li@users.noreply.github.com> Date: Mon, 6 Jan 2025 17:26:41 +0100 Subject: [PATCH] tried another thing --- .bashrc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.bashrc b/.bashrc index 2d98704..7a6c43e 100644 --- a/.bashrc +++ b/.bashrc @@ -415,7 +415,7 @@ _alias() { # ─< ble.sh -- https://github.com/akinomyoga/ble.sh >───────────────────────────────────── d_blesh() { - for deeps in git make; do + for deeps in git make gawk; do if ! command_exists $deeps; then echo_error "$deeps was missing from the system, cannot setup shell properly! (blesh setup)" exit 1 @@ -429,12 +429,13 @@ 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 - bash + . "$HOME/.local/share/blesh/ble.sh" + # bash # cd "$HOME" || return 0 } _blesh() { - if [[ ! -f $HOME/.local/share/blesh/ble.sh ]]; then + 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