github akinomyoga/ble.sh v0.2.6
Patch 0.2.6 (2020-12-02)

latest releases: v0.4.0-devel3, v0.3.4, v0.2.7...
3 years ago

Usage

Prerequisites

Bash 3.0+ and basic POSIX utilities are required.

Download ble-0.2.6.tar.xz

https://github.com/akinomyoga/ble.sh/releases/download/v0.2.6/ble-0.2.6.tar.xz

# DOWNLOAD with wget
wget https://github.com/akinomyoga/ble.sh/releases/download/v0.2.6/ble-0.2.6.tar.xz

# DOWNLOAD with curl
curl -LO https://github.com/akinomyoga/ble.sh/releases/download/v0.2.6/ble-0.2.6.tar.xz

Trial & Install

# TRIAL
tar xJf ble-0.2.6.tar.xz
source ble-0.2.6/ble.sh

# INSTALL
tar xJf ble-0.2.6.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

New features

  • syntax: allow unquoted [! and [^ in simple-word (reported by cmplstofB) #D1303 5cff40f (master: 1efe833)

Changes

  • edit: preserve PS1 when internal_suppress_bash_output is set #D1344 72ae9c6 (master: 6ede0c7)

Fixes

  • decode: use BRE instead of ERE for POSIX sed (reported by dylankb) #D1283 bca4598 (master: 2184739)
  • vi (vi-command/nth-column): fix a bug in arithmetic expansion (reported by andychu) #D1292 4260bc2 (master: da6cc47)
  • syntax: fix failglob errors of heredocs of the form <<$(echo A) #D1308 1f874ba (master: 3212fd2)
  • util (bleopt): fix a bug that a new setting is not defined with name:= (test-util) #D1312 a9eb0e9 (master: c757b92)
  • util (ble/util/{save,restore}-vars): fix a bug that name and prefix cannot be saved/restored (test-util) 49841db (master: 5f2480c)
  • edit: fix a bug that set +H is cancelled on command execution #D1332 2ff6d06 (master: 02bdf4e)
  • syntax (ble/syntax/parse/shift): fix a bug of shift skip in nested words #D1333 bc935bd (master: 65fbba0)
  • util (ble-stackdump): fix a shift of line numbers #D1337 b597e90 (master: a14b72f)
  • edit (ble-bind -x): check range of READLINE_{POINT,MARK} #D1339 47a93e8 (master: efe1e81)
  • util (ble/string#to{upper,lower}): work around LC_COLLATE=en_US.utf8 (test-util) #D1341 5b32621 (master: 1f6b44e) #D1355 b38ef10 (master: 4da6103)
  • util (encoding, keyseq): fix miscelleneous encoding bugs (test-util) 03c0b44 (master: 435bd16)
  • edit: work around WINCH not updating COLUMNS/LINES after ble-reload #D1345 50af6a5 (master: a190455)
  • syntax: allow single-character variable name in named redirections {a}<> #D1360 f81734f (master: 4760409)
  • syntax (glob bracket expression): fix a bug of unsupported POSIX brackets #D1402 b7ea892 (master: 6fd9e22)
  • highlight: fix remaininig highlighting of vanishing words #D1421 #D1422 cc5e4d1 (master: 1066653)
  • highlight: fix unhighlighted tilde expansions ~+ (reported by cmplstofB) #D1424 3f7f044 (master: a32962e)

Compatibility

  • msys2: support2 MSYS (motivated by SUCHMOKUO) #D1264 7cf81c0 (master: 47e2863)
    • edit: support \$ in PS1 for MSYS2 #D1265 8f44624 (master: f6f8956)
    • msys2: work around MSYS2 Bash bug of missing CR #D1270 bbe1b61 (master: 71f3498)
  • edit (ble/widget/bracketed-paste): fix error messages on paste_end in older version of Bash (test-util) a80f1d1 (master: b2c7d1c)
  • decode: work around Bash-3.1 bug of declare -f rejecting special characters in function names (test-util) a80f1d1 (master: b2c7d1c)
  • util (ble/variable#get-attr): fix a bug that attributes are not obtained in Bash <= 4.3 (test-util) a80f1d1 (master: b2c7d1c)
  • decode: work around Bash-4.1 bug that locale not applied with LC_CTYPE=C eval command (test-util) a80f1d1 (master: b2c7d1c)
  • decode: fix a bug of broken cmap cache found in ble-0.3 #D1327 366e8c1 (master: 16b56bf)
  • util (strftime): fix a bug not working with -v var option in Bash <= 4.1 (test-util) 4f11463 (master: f1a2818)
  • complete: work around slow compgen -c in Cygwin #D1329 887be6e (master: 5327f5d)
  • edit: work around problems with mc (reported by onelittlehope) #D1392 a2d6099 (master: e97aa07)

Internal

  • global: check isolated identifiers and leak variables #D1246 146c98b (master: 19cc99d)

Don't miss a new ble.sh release

NewReleases is sending notifications on new releases.