This commit is contained in:
pika 2025-05-25 22:41:22 +02:00
parent 41c9126080
commit bd9ad013a4
2 changed files with 28 additions and 7 deletions

View file

@ -1,4 +1,9 @@
#!/usr/bin/env bash
[[ $- == *i* ]] && source /usr/share/blesh/ble.sh --noattach
# Enable history expansion (!!, !$, etc.) in ble.sh
bleopt history_expand_on_space=1
# Make Tab expand history references (!!, !$, etc.)
ble-bind -f 'TAB' 'complete/expand-history'
# ─< Helper functions >─────────────────────────────────────────────────────────────────
# ───────────────────────────────────< Message storage >─────────────────────────────────
declare -A _MESSAGES
@ -304,3 +309,4 @@ main() {
}
main
[[ ! ${BLE_VERSION-} ]] || ble-attach