addet blesh for real

This commit is contained in:
pika 2024-08-19 20:48:59 +02:00
parent 6c005c3829
commit d65c839123

View file

@ -33,14 +33,9 @@ check_root() {
fi
}
i_blesh() {
install_pkg gawk make &&
git clone --recursive --depth 1 --shallow-submodules https://github.com/akinomyoga/ble.sh.git /tmp/blesh &&
$(cd /tmp/ && make -C ble.sh install PREFIX=~/.local)
}
# ─< ble.sh -- https://github.com/akinomyoga/ble.sh >─────────────────────────────────────
if [[ ! -f $HOME/.local/share/blesh/ble.sh ]]; then
i_blesh
bash -norc -c "$(curl -sSL https://git.k4li.de/pika/scripts/raw/branch/main/bash/installs/install-blesh.sh)"
else
source "$HOME/.local/share/blesh/ble.sh" --attach=none
fi