Usage
Prerequisites
Bash 3.0+ and basic POSIX utilities are required.
Download ble-0.1.14.tar.xz
https://github.com/akinomyoga/ble.sh/releases/download/v0.1.14/ble-0.1.14.tar.xz
# DOWNLOAD with wget
wget https://github.com/akinomyoga/ble.sh/releases/download/v0.1.14/ble-0.1.14.tar.xz
# DOWNLOAD with curl
curl -LO https://github.com/akinomyoga/ble.sh/releases/download/v0.1.14/ble-0.1.14.tar.xz
Trial & Install
# TRIAL
tar xJf ble-0.1.14.tar.xz
source ble-0.1.14/ble.sh
# INSTALL
tar xJf ble-0.1.14.tar.xz -C ~/.local/share/blesh
# Add the following line near the top of ~/.bashrc
[[ $- == *i* ]] && source ~/.local/share/blesh/ble.sh --noattach
# Add the following line at the end of ~/.bashrc
((_ble_bash)) && ble-attach
Changes
Fixes
- fixup ab01ceb 8129816 (v0.2: 51bde60)
- decode: use
BRE
instead ofERE
forPOSIX sed
(reported by dylankb)#D1283
1244d86 (master: 2184739) - edit: fix a bug that
set +H
is cancelled on command execution#D1332
ba3687a (master: 02bdf4e) - syntax (
ble/syntax/parse/shift
): fix a bug of shift skip in nested words#D1333
16fb351 (master: 65fbba0) - util (
ble-stackdump
): fix a shift of line numbers#D1337
5d5b86b (master: a14b72f) - edit (
ble-bind -x
): check range ofREADLINE_{POINT,MARK}
#D1339
6909cc0 (master: efe1e81) - util (
ble/string#to{upper,lower}
): work aroundLC_COLLATE=en_US.utf8
(test-util)#D1341
31476cc (master: 1f6b44e)#D1355
65cab5c (master: 4da6103) - util (encoding, keyseq): fix miscelleneous encoding bugs (test-util) 11d8db7 (master: 435bd16)
- edit: work around
WINCH
not updatingCOLUMNS
/LINES
afterble-reload
#D1345
e15c5a6 (master: a190455) - syntax: allow single-character variable name in named redirections
{a}<>
#D1360
6bbed24 (master: 4760409) - highlight: fix remaininig highlighting of vanishing words
#D1421
#D1422
bf8fdc8 (master: 1066653)
Compatibility
- global: work around Bash 3.2 bug of array initialization with SOH/DEL
#D1238
566f53e (master: defdbd4)#D1241
- msys2: support2 MSYS (motivated by SUCHMOKUO)
#D1264
19a36ea (master: 47e2863) - decode: fix a bug of broken cmap cache found in ble-0.3
#D1327
fc6ded3 (master: 16b56bf) - util (strftime): fix a bug not working with
-v var
option in Bash <= 4.1 (test-util) cb2389c (master: f1a2818) - complete: work around slow
compgen -c
in Cygwin#D1329
d6d49cc (master: 5327f5d) - edit: work around problems with
mc
(reported by onelittlehope)#D1392
15111cf (master: e97aa07)