Moved chezmoi data one level down under chezmoi.roots

This commit is contained in:
Lockszmith (Mac@VAST) 2025-04-14 14:05:59 -04:00
parent c34f7ae631
commit de47f0c388
240 changed files with 90 additions and 76 deletions

View file

@ -0,0 +1,22 @@
#!/usr/bin/env -S bash -c 'echo "Not a user script. source(aka .) only"'
update-ble.sh() {
[[ -n "${DBG}" ]] && set -x
local workdir="$SZ_ENV_ROOT/lib/ble.sh.curl"
[ -d "$workdir" ] && rm -fR "$workdir"
mkdir -p "$workdir"
cd "$workdir"
curl -L https://github.com/akinomyoga/ble.sh/releases/download/nightly/ble-nightly.tar.xz | tar xJf -
source "$workdir/ble-nightly/ble.sh"
[[ -n "${DBG}" ]] && set +x
}
if [ -f "$SZ_ENV_ROOT/lib/ble.sh.curl/ble-nightly/ble.sh" ]; then
source "$SZ_ENV_ROOT/lib/ble.sh.curl/ble-nightly/ble.sh" --noattach
fi
if [[ -n "${DBG}" && -n "${BLE_VERSION-}" ]]; then
echo "ble.sh will be loaded."
fi