Usage
Prerequisites
Bash 3.0+ and basic POSIX utilities are required.
Download ble-nightly.tar.xz
Link kept updated for every nightly build:
https://github.com/akinomyoga/ble.sh/releases/download/nightly/ble-nightly.tar.xz
Permalink to the current nightly build:
https://github.com/akinomyoga/ble.sh/releases/download/nightly/ble-nightly-20220616+a3082a0.tar.xz
# DOWNLOAD with wget
wget https://github.com/akinomyoga/ble.sh/releases/download/nightly/ble-nightly.tar.xz
# DOWNLOAD with curl
curl -LO https://github.com/akinomyoga/ble.sh/releases/download/nightly/ble-nightly.tar.xz
# DOWNLOAD with wget (this specific nightly build)
wget https://github.com/akinomyoga/ble.sh/releases/download/nightly/ble-nightly-20220616+a3082a0.tar.xz
# DOWNLOAD with curl (this specific nightly build)
curl -LO https://github.com/akinomyoga/ble.sh/releases/download/nightly/ble-nightly-20220616+a3082a0.tar.xz
Trial & Install
# TRIAL
tar xJf ble-nightly.tar.xz
source ble-nightly-20220616+a3082a0/ble.sh
# INSTALL (quick)
tar xJf ble-nightly.tar.xz
mkdir -p ~/.local/share/blesh
cp -fR ble-nightly-20220616+a3082a0/* ~/.local/share/blesh/
echo 'source ~/.local/share/blesh' >> ~/.bashrc
# INSTALL (more robust)
tar xJf ble-nightly.tar.xz
mkdir -p ~/.local/share/blesh
cp -fR ble-nightly-20220616+a3082a0/* ~/.local/share/blesh/
# Add the following line near the top of ~/.bashrc
[[ $- == *i* ]] && source ~/.local/share/blesh/ble.sh --attach=none
# Add the following line at the end of ~/.bashrc
[[ ${BLE_VERSION-} ]] && ble-attach