58 KiB
ble-0.4.0-devel3
Usage
Prerequisites
Bash 3.0+ and basic POSIX utilities are required.
Download ble-0.4.0-devel3.tar.xz
https://github.com/akinomyoga/ble.sh/releases/download/v0.4.0-devel3/ble-0.4.0-devel3.tar.xz
# DOWNLOAD with wget
wget https://github.com/akinomyoga/ble.sh/releases/download/v0.4.0-devel3/ble-0.4.0-devel3.tar.xz
# DOWNLOAD with curl
curl -LO https://github.com/akinomyoga/ble.sh/releases/download/v0.4.0-devel3/ble-0.4.0-devel3.tar.xz
Trial & Install
# TRIAL
tar xJf ble-0.4.0-devel3.tar.xz
source ble-0.4.0-devel3/ble.sh
# INSTALL (quick)
tar xJf ble-0.4.0-devel3.tar.xz -C ~/.local/share/blesh
echo 'source ~/.local/share/blesh' >> ~/.bashrc
# INSTALL (more robust)
tar xJf ble-0.4.0-devel3.tar.xz -C ~/.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
ble-0.3.4
Usage
Prerequisites
Bash 3.0+ and basic POSIX utilities are required.
Download ble-0.3.4.tar.xz
https://github.com/akinomyoga/ble.sh/releases/download/v0.3.4/ble-0.3.4.tar.xz
# DOWNLOAD with wget
wget https://github.com/akinomyoga/ble.sh/releases/download/v0.3.4/ble-0.3.4.tar.xz
# DOWNLOAD with curl
curl -LO https://github.com/akinomyoga/ble.sh/releases/download/v0.3.4/ble-0.3.4.tar.xz
Trial & Install
# TRIAL
tar xJf ble-0.3.4.tar.xz
source ble-0.3.4/ble.sh
# INSTALL
tar xJf ble-0.3.4.tar.xz -C ~/.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
blesh-0.3 Fixes
- decode: fix
bindemulation in .bashrc (v0.3) 742777e - global: pick fixes and changes from ble-0.1..0.2 backports 78bbc5e
- bump 0.3.4 9da6774
Fixes
- complete: fix a problem that candidates are not updated after menu-filter (reported by 3ximus)
#D14281c7786e (master: 98fbc1c) - edit: work around the wrong job information of Bash in trap handlers (reported by 3ximus)
#D1435#D1436d40847f (master: bc4735e) - edit (command-help): work around the Bash bug that tempenv vanishes with
builtin eval#D1438cc8ca96 (master: 8379d4a) - global: suppress missing locale errors (reported by 3ximus)
#D1440b52a798 (master: 4d3c595) - edit (sword): fix definition of
sword(shell words)#D14412370bce (master: f923388) - edit (
kill-forward-logical-line): fix a bug not deleting newline at the end of the line#D14432a8a7f6 (master: 09cf7f1) - global: work around bash-4.2 bug of
declare -gA(reported by 0xC0ncord)#D14702f85ed3 (master: 8856a04) - global: fix declaration of associative arrays for
ble-reload(reported by 0xC0ncord)#D1471422de69 (master: 3cae6e4) - util (
ble/util/msleep): fix hang in Cygwin by swithing from/dev/udp/0.0.0.0/80to/dev/zero#D14525ace564 (master: d4d718a) - syntax: fix broken AST with
[[keyword#D14541d48e79 (master: 69658ef) - benchmark (
ble-measure): work around a locale-dependent decimal point ofEPOCHREALTIME(reported by 3ximus)#D1460f3833ad (master: 1aa471b) - util (
ble/util/msleep): work around the bash-4.3 bug ofread -t(reported by 3ximus)#D1468#D146970797cf (master: 4ca9b2e) - bind: work around broken
cmd_xmapafter switching the editing mode#D1478909f461 (master: 8d354c1) - edit: clear graphic rendition on newlines and external commands
#D147959ede5c (master: 18bb2d5) - decode (rlfunc): work around incomplete bytes in keyseq (reported by onelittlehope)
#D1483948a38d (master: 3559658) beb0383 37363be - canvas: fix a glitch that SGR at the end of command line is applied to new lines
#D14986871634 (master: 4bdfdbf) - syntax: fix a bug that
eval() { :; },declare() { :; }are not treated as function definition#D15296c1d295 (master: b429095) - decode: fix a hang on attach failure by cache corruption
#D1531d4b0700 (master: 24ea379) - progcomp: fix non-working
complete -C prog(reported by Archehandoro)#D153547b3ade (master: 026432d) - bind: fix a problem that
bind '"seq":"key"'causes a loop macrobind -s key key(reported by thanosz)#D1536e2a502d (master: ea05fc5) - main: work around
. ble.sh --{test,update,clear-cache}in intereactive sessions#D1555500915f (master: bbc2a90) - main: fix reloading after ble-update (fixup 500915f (master: bbc2a90)) (fixed by oc1024)
#D15589372670 - main: fix exit status for
bash ble.sh --test(fixup 500915f (master: bbc2a90))#D1558641238a - main: work around sourcing
ble.shinside subshells#D1554500915f (master: bbc2a90) - global: use a better workaround of bash-4.2
declare -gAby separating assignment#D156740827ef (master: 2408a20) - util: work around bash-3.0 bug
"${scal[@]/xxx}"#D15707e10cf4 (master: 24f79da) - syntax: fix a bug that argument completion is attempted in nested commands (reported by huresche)
#D15796987ae8 (master: 301d40f) - edit (brackated-paste): fix incomplete
CR => LFconversion (reported by alborotogarcia)#D15872651c8e (master: 8d6da16) - main (adjust-bash-options): adjust
LC_COLLATE=C#D158894cc9d2 (master: e87ac21) - highlight (
layer:region): fix blocked lower-layer changes without selection changes#D1596d40d42a (master: 5ede3c6) - complete (
auto-menu): fix sleep loops by clock/sclock difference#D15970abc15b (master: 53dd018) - util: work around the Bash 3 bug of array assignments with
^Aand^?in Bash 3.2#D16140eac4df (master: b9f7611) - benchmark (
ble-measure): fix a bug that the result is always 0 in Bash 3 and 4 (fixup bbc2a904)#D1615bc3cdab (master: a034c91) - decode, canvas, etc.: explicitly treat CSI arguments as decimal numbers (reported by GorrillaRibs)
#D162597bce68 (master: c6473b7) 2ea48d7 - edit: fix a bug that
command-helpdoesn't work#D1635c375fbb (master: 0f6a083) - complete: fix a task scheduling bug of referencing two different clocks (reported by rashil2000)
#D1636df9f932 (master: fea5f5b) - canvas: update prompt trace on
char_width_modechange (reported by Barbarossa93)#D164200f9ce8 (master: 68ee111) - decode: fix a bug that the characters input while initialization are delayed
#D1670734bd50 (master: 430f449) - util (
ble/util/readfile): fix a bug of always exiting with 1 inbash <= 3.2(reported by laoshaw)#D167851d244a (master: 61705bf) - trace: fix wrong positioning of the ellipses on overflow
#D1684dea87c7 (master: b90ac78) - mandb: generate completions of options also for the empty word
#D1689dea87c7 (master: b90ac78) - complete: do not generate keywords for quoted command names
#D16915b1e5be (master: 60d244f) - menu (menu-style:align): fix the failure of delaying
ble/canvas/traceon items (motivated by banoris)#D17103d56593 (master: acc9661) - complete: fix empty completions with
FIGNORE(reported by seanfarley)#D171149e75ee (master: 144ea5d) - main: fix the message of owner errors of cache directories (reported by zim0369)
#D171202aeb4a (master: b547a41) - util (
ble/string#escape-for-bash-specialchars): fix escaping of TAB#D1713accf8f3 (master: 7db3d2b) - util (visible-bell): erase visible-bell before running external commands
#D172372a11ae (master: 0da0c1c) - util (
ble/function): work aroundshopt -u extglob#D17253819e83 (master: 952c388) - syntax: fix uninitialized syntax-highlighting in bash-3.2
#D17317bd03a5 (master: e3f5bf7) - main: fix the workaround for
set -euand refactor#D1743a949af0 (master: 6a946f0) - progcomp: retry completions on
$? == 124also for non-default completions (reported by SuperSandro2000)#D1759e217932 (master: 82b9c01) - util (
ble/util/import): work around filenames with bash special characters#D17634179e3d (master: b27f758) - edit: fix the restore failure of
PS1andPROMPT_COMMANDonble-detach#D17844f4c924 (master: b9fdaab) - complete: do not attempt an independent rhs completion for arguments (reported by rsteube)
#D17877bf32ca (master: f8bbe2c) - history: work around possible dirty prefix
*in the history output#D180884184ce (master: 64a740d) - util(
ble/util/eval-pathname-expansion): fix restoring shopt options in bash-4.0#D1825d3b3f7b (master: 736f4da) - decode: fix the workaround for
set -ewith--prompt=attach#D183251cb735 (master: 5111323) - decode (
encoding:C): fix initialization for isolated ESC#D1839aaa74b5 (master: c3bba5b) - main. util: fix problems of readlink etc. found by test in macOS (reported by aiotter)
#D1849a1adc7f (master: fa955c1)#D1855a22e145 - progcomp: fix a bug that
COMP_WORDBREAKSis ignored#D1872b338066 (master: 4d2dd35) - global: quote
return $?#D18844f14f7a (master: 801d14a) - main: fix adjustments of bash options (reported by rashil2000)
#D18957bd25c9 (master: 138c476) - decode: fix a bug that the tab completion do not work with bash-4.4 and lower
#D19286351e7f (master: 7da9bce) - bind: fix M-C-@, C-x C-@, and M-C-x (
bash-4.2 -o emacs)#D192002f45f3 (master: a410b03) - complete: fix non-working ambiguous path completion with
..and.in the path#D1930fdb76e9 (master: 632e90a) - main (ble-reload): fix failure by non-existent rcfile
#D193158de996 (master: b7ae2fa) - util: fix ble/util/clock in bash-4.2 [main: fix the timestamp in the session ID in bash-4.2]
#D19549a24b1e (master: 651c70c1) - edit (
ble/textarea#render): fix interleaving outputs to_ble_util_bufferandDRAW_BUFF#D198762519a7 (master: 6d61388) - keymap/vi (
operator:filter): do not append newline at the end of line#D19948207d4f (master: bce2033) - keymap/vi (
expand-range-for-linewise-operator): fix the end point being not extended#D19948207d4f (master: bce2033) - syntax: fix unrecognized asignment
echo arr[i]+=rhs[sabbrev: apply sabbrev to right-hand sides of variable assignments]#D2007948f50f (master: 41faa494)
Changes
- syntax: exclude
\ + LFat the word beginning from words (motivated by cmplstofB)#D14311b00fd2 (master: 67e62d6) - edit: preserve the state of
READLINE_{LINE,POINT,MARK}#D1437cc8ca96 (master: 8379d4a) - edit: change default behavior of C-w and M-w to operate on backward words
#D1448b1fd84a (master: 47a3301) - edit (
ble/builtin/read): cancel by C-d on an empty line#D14734fae77a (master: ecb8888) - syntax: change syntax context after
time ;and! ;for Bash 4.4#D1477e55e3df (master: 4628370) - decode (rlfunc): update mapping
vi-replaceinimapandvi-editing-modeinnmap(reported by onelittlehope)#D14843a2d0fe (master: f2ca811) - prompt: invalidate prompt and textarea on prompt setting changes
#D1492e28f330 (master: 1f55913) - main: accept non-regular files as
blercand add option--norc#D15304b0eb87 (master: 7244e2f) - prompt: adjust behavior of
LINENOand prompt sequence\#(reported by tycho-kirchner)#D1542f3668ba (master: 8b0257e) - main: show notifications against debug versions of Bash
#D16120ee8415 (master: 8f974aa) - edit: suppress only
stderrwithinternal_suppress_bash_output(motivated by rashil2000)#D1646b0a9021 (master: a30887f) - prompt: do not evaluate
PROMPT_COMMANDfor subprompts#D16549c0e515 (master: 08e903e) - main: suppress non-interactive warnings from manually sourced startup files (reported by andreclerigo)
#D1676a602876 (master: 0525528) 88e2df5 - main: suppress non-interactive warnings from manually sourced startup files (reported by andreclerigo)
#D16760525528 79efd42 (master: 88e2df5) - syntax: revert 99f2234 (master: 371a5a4) and generate empty completion source on syntax error
#D1609e09fcab - syntax: do not start argument completions immediately after previous word (reported by EmilySeville7cfg)
#D169099f2234 (master: 371a5a4) - syntax: revert 371a5a4 and generate empty completion source on syntax error
#D1609a1d1286 (master: e09fcab) - canvas: do not insert explicit newlines on line folding if possible (reported by banoris)
#D1745d878fce (master: 02b9da6) dc3827b - edit (
ble-bind -x): preserve multiline prompts on execution ofbind -xcommands (requested by SuperSandro2000)#D1755240bfaa (master: 7d05a28) - util (
ble/util/buffer): hide cursor in rendering#D17585907567 (master: e332dc5) - complete (
action:file): always suffix/to complete symlinked directory names (reported by SuperSandro2000)#D1759ebdc58b (master: 397ac1f) - edit: fix layout with
prompt_rps1caused by missingopts=relativeforble/textmap#update#D1769e799191 (master: f6af802) - edit (
ble-detach): prepend a space tostty saneforHISTIGNORE=' *'#D179631bc2b7 (master: 26b532e) - edit: the widgets
{kill,copy,delete}-region-ornow receives widgets as arguments#D1021e222c48 (master: bbbd155) - decode (
bind): do not treat non-beginning#as comments#D1820f9db7d8 (master: 65c4138) - history: disable the history file when
HISTFILEis empty#D18367153250 (master: 9549e83) - main (
ble-reload): preserve the original initialization options#D18528912d81 (master: d8c92cc) - progcomp: reproduce arguments of completion functions passed by Bash
#D1872b338066 (master: 4d2dd35) - color: let
bleopt term_index_colorsoverride the default if specified#D1878e7c657c (master: 7d238c0) - decode (
vi_imap-rlfunc.txt): update the widget forbackward-kill-wordaskill-backward-{u => c}word#D18963c4e3a4 (master: e19b796) - term (
_ble_term_TERM): detect wezterm-20220408#D1909f3a8382 (master: 486564a) - keymap/vi (
decompose-meta): translate S-a to A#D19889e0c187 (master: 600e845) - term (
_ble_term_TERM): detect konsole#D19889e0c187 (master: 600e845) ed53858
Compatibility
- term: work around leaked DA2R in screen from outside terminal
#D14854d77fab (master: e130619) - util (
modifyOtherKeys): work around a quirk of kitty (reported by NoahGorny)#D1549823eb83 (master: f599525) - global: work around empty
vi_imapcache bytmux-resurrect#D1562d7d2a23 (master: 560160b) - decode: identify
kittyand treat\e[27uas isolated ESC (reported by lyiriyah)#D15852f7404e (master: c2a84a2) - complete: suppress known error messages of
bash-completion(reported by oc1024, Lun4m)#D1622558322c (master: d117973) - util (
modifyOtherKeys): update the workaround for a new quiark of kitty#D162790d9284 (master: 3e4ecf5) - main: work around
set -Bandset -k#D162855494eb (master: a860769) - term: disable
modifyOtherKeysand do not sendDA2forst(requested by Shahabaz-Bagwan)#D16327e08766 (master: 92c7b26) - cmap: add
st-specific escape sequences for cursor keys#D16331391c90 (master: acfb879) - cmap: distinguish find/select from home/end for openSUSE
inputrc.keys(reported by cornfeedhobo)#D1648886cc07 (master: c4d28f4) - cmap: freeze the internal codes of find/select and kitty special keys
#D16747d02058 (master: fdfe62a) - decode: work around the overwritten builtin
set(reported by eadmaster)#D16805acb117 (master: a6b4e2c) - util (
modifyOtherKeys): use the kitty protocol for kitty 0.23+ which removes the support ofmodifyOtherKeys(reported by kovidgoyal)#D1681696264b (master: ec91574) - complete: work around the variable leaks by
virshcompletion fromlibvirt(reported by telometto)#D16827a65fc3 (master: f985b9a) - stty: do not remove keydefs for C-u, C-v, C-w, and C-? (reported by laoshaw)
#D1683ff8fb83 (master: 82f74f0) - decode (
ble/builtin/bind): improve compatibility of the deprecated formbind key:rlfunc(motivated by cmplstofB)#D1698c3904ff (master: b6fc4f0) - main: work around
XDG_RUNTIME_DIRof a different user bysu(reported by zim0369)#D1712dbf58e4 (master: 8d37048) - main (
ble/util/readlink): work around non-standard or missingreadlink(motivated by peterzky)#D172060595bd (master: a41279e) - decode (
ble/builtin/bind): fix a bug that only lowercase is accepted for deprecated formbind key:rlfunc(reported by returntrip)#D172643cf9b9 (master: a67458e) e363f1b - decode (
ble/builtin/bind): fix a bug that only lowercase is accepted for deprecated formbind key:rlfunc(reported by returntrip)#D1726a67458e dd358d7 (master: e363f1b) - global: work around the arithmetic syntax error of
10#in Bash-5.1#D1734b321b57 (master: 7545ea3) - global: adjust implementations for Bash 5.2
patsub_replacement#D173866ae615 (master: 4590997) - main: check
/dev/ttyon startup (reported by andychu)#D1749e6c2855 (master: 711c69f) - global: work around
shopt -s compat42#D17541f254b5 (master: a75bb25) - global: identify bash-4.2 bug that internal quoting of
${v/%$empty/"$rep"}remains#D17531f254b5 (master: a75bb25) - prompt: fix a bug of
ble/prompt/printredundantly quoting$#D17521f254b5 (master: a75bb25) - global: work around
compat42quoting of"${v/pat/"$rep"}"#D17511f254b5 (master: a75bb25) - util: add identification of Windows Terminal
wt#D17585907567 (master: e332dc5) - global: work around bash-3.0 bug that single quotes remains for
"${v-$''}"#D177430440b2 (master: 9b96578) - util (
modifyOtherKeys): fix a bug that kitty protocol is never activated#D1842f8aeb51 (master: 14f3c81) - util (
modifyOtherKeys): work around delayed terminal identification#D1842f8aeb51 (master: 14f3c81) - main: resolve empty
HOSTNAME[originally: contrib: addhistdb]#D1925e82230e (master: 44d9e104) - main: warn empty
LANG[originally: main: support an option--inputrc={diff,all,user,none}]#D1926ede4ee7 (master: 92f2006) - term (
terminology): work around terminal glitches#D1946ccb93a5 (master: 9a1b4f9) - edit: always adjust the terminal states with
bind -x(reported by linwaytin)#D1983992131c (master: 5d14cf1) - syntax: suppress brace expansions in designated array initialization in Bash 5.3
#D19891f0d8e1 (master: 1e7b884) - util (function#evaldef): work around
set -e[progcomp: work around slownixcompletion]#D19972ab4e4b (master: 2c1aacfc) - util (
string#quote-word): work aroundset -ue[util, edit: addble/util/messageandble append-line]#D20012317562 (master: 2a524f34) - complete: suppress error messages from
_adb#D20052f77171 (master: f2aa32b) - edit: restore
PS1while processingbind -x#D2024604c092 (master: 2eadcd5)
Optimization
- complete (
ble/complete/source:file): remove slow old codes (reported by timjrd)#D151260a33e2 (master: e5be0c1) - util (
ble/util/assign): work around subshell conflicts#D15784117d1b (master: 6e4bb12) - prompt: fix not properly set
$?in${PS1@P}evaluation (reported by nihilismus)#D1644a3cfd0d (master: 521aff9) - util (
ble/string#split): optimize#D18269dcbbd4 (master: 7bb10a7) - debug: add
ble/debug/profiler(motivated by SuperSandro2000)#D1824f629698 11aa4ab 9dcbbd4 (master: 7bb10a7) - global: avoid passing arbitrary strings through
awk -v var=value#D18279edb1aa (master: 82232de)
Internal changes and fixes
- main: include hostname in local runtime directory
#D14443e648a9 (master: 6494836) - benchmark (
ble-measure): support-T TIMEand-B TIMEoption#D1460f3833ad (master: 1aa471b) - global: fix status check for read timeout
#D1467f190f9a (master: e886883) - util, etc: ensure each function to work with arbitrary
IFS#D1490#D1491c33fad0 (master: 5f9adfe) - global: work around
localvar_inheritfor varname-list init#D15668c67b79 (master: 5c2edfc) - util: fix
ble/util/dense-array#fill-rangee397120 (master: a46fdaf) - util: fix leak variables
buff,trap,{x,y}{1,2}#D157282113e9 (master: 5967d6c) - util: fix leak variables
#D16430817df6 (master: fcf634b) - edit (
command-help): useble/util/assign/.mktmpto determine the temporary filename#D16632ff6078 (master: 1af0800) - Makefile: add fallback Makefile for BSD make
#D1805ea8b966 (master: e5d8d00) - util, decode, vi: fix leak variables
#D19339e2e823 (master: 8d5cab8) - syntax: fix code formatting [originally: complete: support auto-complete sources]
#D1938450f70b (master: 00cae745) - main: use builtin for ":" [histdb: support timeout of background processes]
#D1971482ddb5 (master: e0566bdc) - global: normalize to
_a-zA-Z[sabbrev: apply sabbrev to right-hand sides of variable assignments]#D2006a101fe6 (master: 41faa494) - util (restore-vars): work around
set -u[lib: addutil.bgprocforble/util/bgproc]#D20178787ca5 (master: 7803305f) - util: update
ble/util/conditional-sync[util.bgproc: increase frequency of bgproc termination check]#D202779fd13c (master: 8d623c1)
Test
- util (ble/util/s2bytes): clear locale cache
#D188145f3df3 (master: 2e1a7c1) - util (ble/util/s2c): work around intermediate mbstate of bash <= 5.2
#D188145f3df3 (master: 2e1a7c1) - util (ble/encoding:UTF-8/b2c): fix interpretation of leading byte
#D188145f3df3 (master: 2e1a7c1) - complete: fix syntax error for bash-3.0
#D1881b534799 (master: 0b3e611)
Documentation
- blerc: rename from
blerctoblerc.template#D18993c4e3a4 (master: e19b796) - wiki/Q&A: add item for defining a widget calling multiple widgets (motivated by micimize)
#D18983c4e3a4 (master: e19b796) - blerc: add frequently used keybindings (motivated by KiaraGrouwstra, micimize)
#D1896#D18973c4e3a4 (master: e19b796)
Contrib
- fzf-key-bindings: fix a problem that
modifyOtherKeysis not reflected (reported by SuperSandro2000)#D1908f3a8382 (master: 486564a)
New features
- canvas: update emoji database and support
bleopt emoji_version(motivated by endorfina)#D14543f6c9b9 (master: d1f8c27) - syntax: support tilde expansions in parameter expansions
#D1513e32914f (master: 0506df2) - prompt (
contrib/prompt-git): support dirty checking#D160150a0094 (master: b2713d9) - util (
bleopt,bind): fix error message and exit status, respectively#D164029728b1 (master: b663cee) - edit: support bash-5.2 binding of
prior/nexttohistory-search-{for,back}ward#D1661a3a353e (master: d26a6e1) - util: suppress false warnings of
bindinside non-interactive shells (reported by wukuan405)#D182382c9934 (master: 1e19a67) - auto-complete: cancel auto-complete for
magic-space#D191305c0888 (master: 01b4f67) - complete: support ambiguous completion for command paths
#D19226d1e1ba (master: 8a716ad) - syntax: support context after
((...))and[[ ... ]]in bash-5.2#D196257d7674 (master: 67cb967)
ble-0.2.7
Usage
Prerequisites
Bash 3.0+ and basic POSIX utilities are required.
Download ble-0.2.7.tar.xz
https://github.com/akinomyoga/ble.sh/releases/download/v0.2.7/ble-0.2.7.tar.xz
# DOWNLOAD with wget
wget https://github.com/akinomyoga/ble.sh/releases/download/v0.2.7/ble-0.2.7.tar.xz
# DOWNLOAD with curl
curl -LO https://github.com/akinomyoga/ble.sh/releases/download/v0.2.7/ble-0.2.7.tar.xz
Trial & Install
# TRIAL
tar xJf ble-0.2.7.tar.xz
source ble-0.2.7/ble.sh
# INSTALL
tar xJf ble-0.2.7.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
blesh-0.2 fixes
- global: fix
ble/{is- => util/is}function5e82ca7a - global: pick fixes and changes from ble-0.1 backports 013eb1cd
- complete: fix up 4df15e1e f02bd2a5
- bump 0.2.7 1118c803
Fixes
- edit: work around the wrong job information of Bash in trap handlers (reported by 3ximus)
#D1435#D1436795a647c (master: bc4735e0) - edit (sword): fix definition of
sword(shell words)#D14415e73cf6b (master: f9233889) - edit (
kill-forward-logical-line): fix a bug not deleting newline at the end of the line#D144303787a2d (master: 09cf7f14) - global: work around bash-4.2 bug of
declare -gA(reported by 0xC0ncord)#D1470a2ace444 (master: 8856a04f) - global: fix declaration of associative arrays for
ble-reload(reported by 0xC0ncord)#D1471533eba77 (master: 3cae6e4d) - util (
ble/util/msleep): fix hang in Cygwin by swithing from/dev/udp/0.0.0.0/80to/dev/zero#D145246992e79 (master: d4d718ab) - syntax: fix broken AST with
[[keyword#D14540482bf64 (master: 69658efc) - util (
ble/util/msleep): work around the bash-4.3 bug ofread -t(reported by 3ximus)#D1468#D1469fad78ea5 (master: 4ca9b2e2) - bind: work around broken
cmd_xmapafter switching the editing mode#D147897ca1171 (master: 8d354c1b) - edit: clear graphic rendition on newlines and external commands
#D1479759b96dd (master: 18bb2d5c) - canvas: fix a glitch that SGR at the end of command line is applied to new lines
#D1498a6ac1216 (master: 4bdfdbf8) - syntax: fix a bug that
eval() { :; },declare() { :; }are not treated as function definition#D1529a4cda9c3 (master: b4290958) - decode: fix a hang on attach failure by cache corruption
#D1531a4c13ab8 (master: 24ea3792) - benchmark (
ble-measure): fix a bug that the result is always 0 in Bash 3 and 4 (fixup 8eb493a9 (master: bbc2a904))#D1615a034c91 - main: work around
. ble.sh --{test,update,clear-cache}in intereactive sessions#D15558eb493a9 (master: bbc2a904) - main: fix reloading after ble-update (fixup 8eb493a9 (master: bbc2a904)) (fixed by oc1024)
#D15589372670 - main: fix exit status for
bash ble.sh --test(fixup 8eb493a9 (master: bbc2a904))#D1558641238a - main: work around sourcing
ble.shinside subshells#D15548eb493a9 (master: bbc2a904) - global: use a better workaround of bash-4.2
declare -gAby separating assignment#D15670b7de999 (master: 2408a207) - edit (brackated-paste): fix incomplete
CR => LFconversion (reported by alborotogarcia)#D1587ac738bb4 (master: 8d6da161) - highlight (
layer:region): fix blocked lower-layer changes without selection changes#D1596650140ff (master: 5ede3c69) - util: work around the Bash 3 bug of array assignments with
^Aand^?in Bash 3.2#D16140ed7f6dc (master: b9f76118) - benchmark (
ble-measure): fix a bug that the result is always 0 in Bash 3 and 4 (fixup bbc2a904)#D161528e8dfed (master: a034c91a) - decode, canvas, etc.: explicitly treat CSI arguments as decimal numbers (reported by GorrillaRibs)
#D1625c9e4198b (master: c6473b78) 2ea48d7 - edit: fix a bug that
command-helpdoesn't work#D1635b992bb5d (master: 0f6a0834) - canvas: update prompt trace on
char_width_modechange (reported by Barbarossa93)#D164256b77a83 (master: 68ee1112) - util (
ble/util/readfile): fix a bug of always exiting with 1 inbash <= 3.2(reported by laoshaw)#D16785b843bb6 (master: 61705bf6) - complete: do not generate keywords for quoted command names
#D16917211b1ec (master: 60d244fe) - complete: fix empty completions with
FIGNORE(reported by seanfarley)#D171190f388aa (master: 144ea5db) - main: fix the message of owner errors of cache directories (reported by zim0369)
#D1712d2bf86c1 (master: b547a41a) - syntax: fix uninitialized syntax-highlighting in bash-3.2
#D17316aa12c82 (master: e3f5bf74) - progcomp: retry completions on
$? == 124also for non-default completions (reported by SuperSandro2000)#D1759c641fb1b (master: 82b9c011) - util (
ble/util/import): work around filenames with bash special characters#D17637da5f048 (master: b27f7585) - edit: fix the restore failure of
PS1andPROMPT_COMMANDonble-detach#D178447dfdd94 (master: b9fdaabd) - history: work around possible dirty prefix
*in the history output#D1808cc14f59c (master: 64a740d7) - decode: fix the workaround for
set -ewith--prompt=attach#D1832958aae6b (master: 51113237) - main. util: fix problems of readlink etc. found by test in macOS (reported by aiotter)
#D18498f0acf3d (master: fa955c1a)#D1855a22e145 - global: quote
return $?#D18849e10b54b (master: 801d14af) - bind: fix M-C-@, C-x C-@, and M-C-x (
bash-4.2 -o emacs)#D1920342826f3 (master: a410b038) - keymap/vi (
operator:filter): do not append newline at the end of line#D19942a8e746f (master: bce20339) - keymap/vi (
expand-range-for-linewise-operator): fix the end point being not extended#D19942a8e746f (master: bce20339) - syntax: fix unrecognized asignment
echo arr[i]+=rhs[sabbrev: apply sabbrev to right-hand sides of variable assignments]#D20064ed4fd4f (master: 41faa494) - syntax: fix unrecognized variable assignment of the form
echo arr[i]+=rhs#D20074ed4fd4f (master: 41faa494)
Changes
- syntax: exclude
\ + LFat the word beginning from words (motivated by cmplstofB)#D14316044a485 (master: 67e62d64) - edit: change default behavior of C-w and M-w to operate on backward words
#D1448787ff57f (master: 47a3301a) - edit: the widgets
{kill,copy,delete}-region-ornow receives widgets as arguments#D10218f48aff1 (master: bbbd155f) - edit (
ble/builtin/read): cancel by C-d on an empty line#D1473551bde3a (master: ecb8888d) - syntax: change syntax context after
time ;and! ;for Bash 4.4#D14770b66cf4a (master: 46283706) - prompt: invalidate prompt and textarea on prompt setting changes
#D149254d310df (master: 1f559135) - prompt: adjust behavior of
LINENOand prompt sequence\#(reported by tycho-kirchner)#D15424b63b164 (master: 8b0257e2) - main: show notifications against debug versions of Bash
#D1612608ac2ad (master: 8f974aa1) - prompt: do not evaluate
PROMPT_COMMANDfor subprompts#D16545c0cfdef (master: 08e903e0) - main: suppress non-interactive warnings from manually sourced startup files (reported by andreclerigo)
#D16762587bb01 (master: 05255282) 88e2df5 - main: suppress non-interactive warnings from manually sourced startup files (reported by andreclerigo)
#D16760525528 5f638563 (master: 88e2df51) - util (
ble/util/buffer): hide cursor in rendering#D17584ecbbdc2 (master: e332dc5f) - edit (
ble-detach): prepend a space tostty saneforHISTIGNORE=' *'#D1796bd903716 (master: 26b532e7) - history: disable the history file when
HISTFILEis empty#D1836d97ca100 (master: 9549e831) - keymap/vi (
decompose-meta): translate S-a to A#D1988eaf66c7c (master: 600e845e) - term (
_ble_term_TERM): detect konsole#D1988eaf66c7c (master: 600e845e) ed53858 - complete (
source:argument): fallback to rhs completion also forname+=rhs#D20064ed4fd4f (master: 41faa494)
Compatibility
- highlight: fix a problem that the attribute of the last character is applied till EOL
#D139336f9d809 (master: 2ddb1ba2)#D1395ef09932 - highlight: fix a problem that the attribute of the last character is applied till EOL
#D13932ddb1ba#D13956bcb4053 (master: ef099326) - global: work around empty
vi_imapcache bytmux-resurrect#D1562d7130d55 (master: 560160b0) - main: work around
set -Bandset -k#D16283c97ae84 (master: a8607692) - cmap: add
st-specific escape sequences for cursor keys#D1633bf46e344 (master: acfb8790) - cmap: distinguish find/select from home/end for openSUSE
inputrc.keys(reported by cornfeedhobo)#D1648ad675556 (master: c4d28f40) - cmap: freeze the internal codes of find/select and kitty special keys
#D1674f41b8004 (master: fdfe62a4) - decode: work around the overwritten builtin
set(reported by eadmaster)#D168093ae08d0 (master: a6b4e2ca) - complete: work around the variable leaks by
virshcompletion fromlibvirt(reported by telometto)#D1682ee2ac075 (master: f985b9a4) - stty: do not remove keydefs for C-u, C-v, C-w, and C-? (reported by laoshaw)
#D1683c01487bf (master: 82f74f0a) - main: work around
XDG_RUNTIME_DIRof a different user bysu(reported by zim0369)#D1712e5501a31 (master: 8d370486) - main (
ble/util/readlink): work around non-standard or missingreadlink(motivated by peterzky)#D1720d785f5db (master: a41279ed) - global: work around the arithmetic syntax error of
10#in Bash-5.1#D17342b55aa16 (master: 7545ea31) - global: adjust implementations for Bash 5.2
patsub_replacement#D1738359a3891 (master: 4590997a) - main: check
/dev/ttyon startup (reported by andychu)#D174919fa0924 (master: 711c69f1) - global: work around
shopt -s compat42#D1754e7adfb34 (master: a75bb25a) - global: identify bash-4.2 bug that internal quoting of
${v/%$empty/"$rep"}remains#D1753e7adfb34 (master: a75bb25a) - prompt: fix a bug of
ble/prompt/printredundantly quoting$#D1752e7adfb34 (master: a75bb25a) - global: work around
compat42quoting of"${v/pat/"$rep"}"#D1751e7adfb34 (master: a75bb25a) - util: add identification of Windows Terminal
wt#D17584ecbbdc2 (master: e332dc5f) - global: work around bash-3.0 bug that single quotes remains for
"${v-$''}"#D1774fb607ad6 (master: 9b96578c) - main: resolve empty
HOSTNAME[addhistdb]#D19255812f2ef (master: 44d9e104) - main: warn empty
LANG[main: support an option--inputrc={diff,all,user,none}]#D19263f29bee3 (master: 92f20063) - main: never load
/etc/inputrcin openSUSE (motivated by Ultra980)#D19263f29bee3 (master: 92f20063) 0ceb0cb - main: show warning for empty locale (movivated by Ultra980)
#D19273f29bee3 (master: 92f20063) - term (
terminology): work around terminal glitches#D19462d4caa67 (master: 9a1b4f9f) - edit: always adjust the terminal states with
bind -x(reported by linwaytin)#D1983cdda7c44 (master: 5d14cf17) - syntax: suppress brace expansions in designated array initialization in Bash 5.3
#D198978dd47ee (master: 1e7b884d) - edit: restore
PS1while processingbind -x(reported by adoyle-h)#D2024c46f4230 (master: 2eadcd5b)
Optimization
- util (
ble/util/assign): work around subshell conflicts#D157859d6355c (master: 6e4bb126) - prompt: fix not properly set
$?in${PS1@P}evaluation (reported by nihilismus)#D164466fd10b7 (master: 521aff9b) - util (
ble/string#split): optimize#D18265b3fc89c (master: 7bb10a79) - debug: add
ble/debug/profiler(motivated by SuperSandro2000)#D1824f629698 11aa4ab 5b3fc89c (master: 7bb10a79) - global: avoid passing arbitrary strings through
awk -v var=value#D18274571695a (master: 82232de5)
Internal changes and fixes
- main: include hostname in local runtime directory
#D1444d19ab298 (master: 64948361) - global: fix status check for read timeout
#D14670bcc12c9 (master: e886883b) - util, etc: ensure each function to work with arbitrary
IFS#D1490#D14912fe60b64 (master: 5f9adfe8) - util: fix
ble/util/dense-array#fill-rangeb708ee29 (master: a46fdaf4) - util: fix leak variables
buff,trap,{x,y}{1,2}#D157236d151e2 (master: 5967d6ce) - make: add fallback Makefile for BSD make
#D18056498a5d3 (master: e5d8d00c) - util, decode, vi: fix leak variables
#D1933002dda7f (master: 8d5cab85) - syntax: fix code formatting [histdb: support auto-complete source
histdb-word]#D1938edd48d1c (master: 00cae745) - main: use builtin for
:[histdb: support timeout of background processes]#D19718640dc41 (master: e0566bdc) - global: normalize bracket expressions to
_a-zA-Z/_a-zA-Z0-9#D20064ed4fd4f (master: 41faa494) - util (restore-vars): work around
set -u[util.bgproc: separateble/util/bgprocfromhistdb]#D2017d60758ae (master: 7803305f)
Test
- util (ble/util/s2bytes): clear locale cache
#D188199e217d3 (master: 2e1a7c17) - util (ble/util/s2c): work around intermediate mbstate of bash <= 5.2
#D188199e217d3 (master: 2e1a7c17) - util (ble/encoding:UTF-8/b2c): fix interpretation of leading byte
#D188199e217d3 (master: 2e1a7c17)
New features
- syntax: support context after
((...))and[[ ... ]]in bash-5.2#D196274af9e60 (master: 67cb967a)
ble-0.1.15
Usage
Prerequisites
Bash 3.0+ and basic POSIX utilities are required.
Download ble-0.1.15.tar.xz
https://github.com/akinomyoga/ble.sh/releases/download/v0.1.15/ble-0.1.15.tar.xz
# DOWNLOAD with wget
wget https://github.com/akinomyoga/ble.sh/releases/download/v0.1.15/ble-0.1.15.tar.xz
# DOWNLOAD with curl
curl -LO https://github.com/akinomyoga/ble.sh/releases/download/v0.1.15/ble-0.1.15.tar.xz
Trial & Install
# TRIAL
tar xJf ble-0.1.15.tar.xz
source ble-0.1.15/ble.sh
# INSTALL
tar xJf ble-0.1.15.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
blesh-0.1 fixes
- edit,highlight: backport changes in rebased commits dfac242
- bump 0.1.15 3f4d866
Fixes
- edit (sword): fix definition of
sword(shell words)#D144103980f1 (master: f923388) - bind: work around broken
cmd_xmapafter switching the editing mode#D1478847e602 (master: 8d354c1) - benchmark (
ble-measure): fix a bug that the result is always 0 in Bash 3 and 4 (fixup 4759768 (master: bbc2a90))#D1615a034c91 - main: work around
. ble.sh --{test,update,clear-cache}in intereactive sessions#D15554759768 (master: bbc2a90) - main: fix reloading after ble-update (fixup 4759768 (master: bbc2a90)) (fixed by oc1024)
#D15589372670 - main: fix exit status for
bash ble.sh --test(fixup 4759768 (master: bbc2a90))#D1558641238a - main: work around sourcing
ble.shinside subshells#D15544759768 (master: bbc2a90) - util: work around the Bash 3 bug of array assignments with
^Aand^?in Bash 3.2#D16149648bd4 (master: b9f7611) - decode, canvas, etc.: explicitly treat CSI arguments as decimal numbers (reported by GorrillaRibs)
#D162540a0ec9 (master: c6473b7) 2ea48d7 - edit: fix a bug that
command-helpdoesn't work#D1635c99e2f1 (master: 0f6a083) - canvas: update prompt trace on
char_width_modechange (reported by Barbarossa93)#D16425b22cd6 (master: 68ee111) - complete: do not generate keywords for quoted command names
#D1691cd75f39 (master: 60d244f) - progcomp: retry completions on
$? == 124also for non-default completions (reported by SuperSandro2000)#D1759a66b547 (master: 82b9c01) - edit: fix the restore failure of
PS1andPROMPT_COMMANDonble-detach#D1784a0f6594 (master: b9fdaab) - history: work around possible dirty prefix
*in the history output#D18080ed2ffb (master: 64a740d) - main. util: fix problems of readlink etc. found by test in macOS (reported by aiotter)
#D18491dc5938 (master: fa955c1)#D1855a22e145 - global: quote
return $?#D1884c2ba90b (master: 801d14a) - bind: fix M-C-@, C-x C-@, and M-C-x (
bash-4.2 -o emacs)#D1920de577dc (master: a410b03)
Changes
- syntax: exclude
\ + LFat the word beginning from words (motivated by cmplstofB)#D143169156f1 (master: 67e62d6) - edit: change default behavior of C-w and M-w to operate on backward words
#D14480a07c13 (master: 47a3301) - edit: the widgets
{kill,copy,delete}-region-ornow receives widgets as arguments#D1021ec16708 (master: bbbd155) - main: show notifications against debug versions of Bash
#D16128f989e4 (master: 8f974aa) - main: suppress non-interactive warnings from manually sourced startup files (reported by andreclerigo)
#D16762a045d8 (master: 0525528) 88e2df5 - main: suppress non-interactive warnings from manually sourced startup files (reported by andreclerigo)
#D16760525528 4ef844e (master: 88e2df5) - util (
ble/util/buffer): hide cursor in rendering#D1758444abff (master: e332dc5) - edit (
ble-detach): prepend a space tostty saneforHISTIGNORE=' *'#D1796acb7c08 (master: 26b532e) - history: disable the history file when
HISTFILEis empty#D1836a79095a (master: 9549e83)
Compatibility
- global: work around empty
vi_imapcache bytmux-resurrect#D1562b0cc0a3 (master: 560160b) - cmap: add
st-specific escape sequences for cursor keys#D1633ae298f1 (master: acfb879) - cmap: distinguish find/select from home/end for openSUSE
inputrc.keys(reported by cornfeedhobo)#D1648603cf41 (master: c4d28f4) - cmap: freeze the internal codes of find/select and kitty special keys
#D167466263c4 (master: fdfe62a) - decode: work around the overwritten builtin
set(reported by eadmaster)#D168043dcb66 (master: a6b4e2c) - complete: work around the variable leaks by
virshcompletion fromlibvirt(reported by telometto)#D1682d13ce5b (master: f985b9a) - stty: do not remove keydefs for C-u, C-v, C-w, and C-? (reported by laoshaw)
#D16836335dc2 (master: 82f74f0) - main (
ble/util/readlink): work around non-standard or missingreadlink(motivated by peterzky)#D172094137b7 (master: a41279e) - global: work around the arithmetic syntax error of
10#in Bash-5.1#D17347c2463e (master: 7545ea3) - global: adjust implementations for Bash 5.2
patsub_replacement#D1738f1599ee (master: 4590997) - main: check
/dev/ttyon startup (reported by andychu)#D174928e9c44 (master: 711c69f) - global: work around
shopt -s compat42#D175459075cc (master: a75bb25) - global: identify bash-4.2 bug that internal quoting of
${v/%$empty/"$rep"}remains#D175359075cc (master: a75bb25) - prompt: fix a bug of
ble/prompt/printredundantly quoting$#D175259075cc (master: a75bb25) - global: work around
compat42quoting of"${v/pat/"$rep"}"#D175159075cc (master: a75bb25) - util: add identification of Windows Terminal
wt#D1758444abff (master: e332dc5) - global: work around bash-3.0 bug that single quotes remains for
"${v-$''}"#D1774d0dc13e (master: 9b96578) - highlight: fix a problem that the attribute of the last character is applied till EOL
#D13932ddb1ba#D13958c33557 (master: ef09932) - main: resolve empty
HOSTNAME[addhistdb]#D1925e6cc6c3 (master: 44d9e10) - main: warn empty
LANG[main: support an option--inputrc={diff,all,user,none}]#D19262bd1544 (master: 92f2006) - term (
terminology): work around terminal glitches#D1946c5c3bc9 (master: 9a1b4f9) - edit: restore
PS1while processingbind -x(reported by adoyle-h)#D202494db09b (master: 2eadcd5)
Optimization
- prompt: fix not properly set
$?in${PS1@P}evaluation (reported by nihilismus)#D1644a7b5c4b (master: 521aff9)
Internal changes and fixes
- main: include hostname in local runtime directory
#D14441a5e90a (master: 6494836) - global: fix status check for read timeout
#D1467b56d638 (master: e886883) - util, etc: ensure each function to work with arbitrary
IFS#D1490#D14917228fd0 (master: 5f9adfe) - util: fix leak variables
buff,trap,{x,y}{1,2}#D1572de71ada (master: 5967d6c) - make: add fallback Makefile for BSD make
#D18052cb758f (master: e5d8d00) - util, decode, vi: fix leak variables
#D1933a2197a6 (master: 8d5cab8) - syntax: fix code formatting [histdb: support auto-complete source
histdb-word]#D1938492349f (master: 00cae74)
Test
- util (ble/util/s2bytes): clear locale cache
#D1881a8d7fd7 (master: 2e1a7c1) - util (ble/util/s2c): work around intermediate mbstate of bash <= 5.2
#D1881a8d7fd7 (master: 2e1a7c1) - util (ble/encoding:UTF-8/b2c): fix interpretation of leading byte
#D1881a8d7fd7 (master: 2e1a7c1)
ble-0.4.0-devel2
Usage
Prerequisites
Bash 3.0+ and basic POSIX utilities are required.
Download ble-0.4.0-devel2.tar.xz
https://github.com/akinomyoga/ble.sh/releases/download/v0.4.0-devel2/ble-0.4.0-devel2.tar.xz
# DOWNLOAD with wget
wget https://github.com/akinomyoga/ble.sh/releases/download/v0.4.0-devel2/ble-0.4.0-devel2.tar.xz
# DOWNLOAD with curl
curl -LO https://github.com/akinomyoga/ble.sh/releases/download/v0.4.0-devel2/ble-0.4.0-devel2.tar.xz
Trial & Install
# TRIAL
tar xJf ble-0.4.0-devel2.tar.xz
source ble-0.4.0-devel2/ble.sh
# INSTALL (quick)
tar xJf ble-0.4.0-devel2.tar.xz -C ~/.local/share/blesh
echo 'source ~/.local/share/blesh' >> ~/.bashrc
# INSTALL (more robust)
tar xJf ble-0.4.0-devel2.tar.xz -C ~/.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
ble-0.3.3
Usage
Prerequisites
Bash 3.0+ and basic POSIX utilities are required.
Download ble-0.3.3.tar.xz
https://github.com/akinomyoga/ble.sh/releases/download/v0.3.3/ble-0.3.3.tar.xz
# DOWNLOAD with wget
wget https://github.com/akinomyoga/ble.sh/releases/download/v0.3.3/ble-0.3.3.tar.xz
# DOWNLOAD with curl
curl -LO https://github.com/akinomyoga/ble.sh/releases/download/v0.3.3/ble-0.3.3.tar.xz
Trial & Install
# TRIAL
tar xJf ble-0.3.3.tar.xz
source ble-0.3.3/ble.sh
# INSTALL
tar xJf ble-0.3.3.tar.xz -C ~/.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
New features
- syntax: allow unquoted
[!and[^insimple-word(reported by cmplstofB)#D13034bf8b86 (master: 1efe833)
Changes
- auto-complete: bind
insert-on-endtoC-e#D12501070aba (master: 90b45eb) - util (
bleopt): fail when a specified bleopt variable does not exist (test-util) 0a51044 (master: 5966f22) - edit: preserve
PS1wheninternal_suppress_bash_outputis set#D1344537acf2 (master: 6ede0c7) - complete: change to generate filenames starting from
.by default#D1425e26867d (master: 987436d)
Fix
- [ble-0.3] reload: fix a bug that the state is broken by
ble-reload#D1266f2f30d1 (master: N/A) - decode (
ble/builtin/bind): remove comment from bind argument#D126782f4aaa (master: 880bb2c) - complete: clear menu on history move
#D124804fddd6 (master: 06cc7de) - syntax: fix a bug that arguments of
evalare not highlighted#D125438a7fc7 (master: 5046d14) - decode: use
BREinstead ofEREforPOSIX sed(reported by dylankb)#D1283a577ec4 (master: 2184739) - vi (vi-command/nth-column): fix a bug in arithmetic expansion (reported by andychu)
#D1292ea2fa8e (master: da6cc47) - complete: fix a bug that menu-filter is only partially turned off by
complete_menu_filter#D12987278e27 (master: b3654e2) - syntax: fix failglob errors of heredocs of the form
<<$(echo A)#D13085ba9400 (master: 3212fd2) - util (
bleopt): fix a bug that a new setting is not defined withname:=(test-util)#D1312f2dbad0 (master: c757b92) - util (
ble/util/{save,restore}-vars): fix a bug thatnameandprefixcannot be saved/restored (test-util) f91f7ed (master: 5f2480c) - util (
ble/path#remove{,-glob}): fix corner cases (test-util) 2ba1d42 (master: ccbc9f8) - util (
ble/variable#get-attr): fix an error message with special variable names such as?and*#D1321b58f006 (master: 557b774) - edit: fix a bug that
set +His cancelled on command execution#D1332bc454a2 (master: 02bdf4e) - syntax (
ble/syntax/parse/shift): fix a bug of shift skip in nested words#D133378e2170 (master: 65fbba0) - util (
ble-stackdump): fix a shift of line numbers#D13371505a5b (master: a14b72f) - edit (
ble-bind -x): check range ofREADLINE_{POINT,MARK}#D13391bc1ff6 (master: efe1e81) - main: fix a bug that
~/.config/blesh/init.shis not detected (GitHub #53 by rux616) 9f74da6 (master: 61f9e10) - util (
ble/string#to{upper,lower}): work aroundLC_COLLATE=en_US.utf8(test-util)#D13415d9aa64 (master: 1f6b44e)#D13554e67719 (master: 4da6103)- fixup 5d9aa64 fef40eb (master: N/A)
- util (encoding, keyseq): fix miscelleneous encoding bugs (test-util) 6d72d2a (master: 435bd16)
- edit: work around
WINCHnot updatingCOLUMNS/LINESafterble-reload#D1345e2d54a2 (master: a190455) - complete: initialize
bleopt complete_menu_styleoptions beforecomplete_loadhook (reported by rux616)#D135215ba24f (master: 8a9a386) - main: fix problems caused by multiple
source ble.shin bashrc#D1354983e8a9 (master: 5476933) - syntax: allow single-character variable name in named redirections
{a}<>#D136052de342 (master: 4760409) - decode (
bind): work aroundshopt -s nocasematch(reported by tigger04)#D1372b34ad58 (master: 855cacf) - prompt: fix a bug that rprompt is not cleared when
bleopt prompt_rps1is reset#D1377c736bd5 (master: 1904b1d) - complete: fix a bug of duplicated completions of filenames with spaces
#D1390048f17e (master: 98576c7) - complete: fix bugs that quotation disappears on ambiguous completion
#D1387048f17e (master: 98576c7) - complete: fix a bug that progcomp retry by 124 caused the default completion again
#D1386048f17e (master: 98576c7) - syntax (tree-enumerate): fix unmodified
wtypeof reconstructed words at the end#D1385048f17e (master: 98576c7) - complete: fix superlinear performace of ambiguous matching globpat
#D1389bd4657a (master: 71afaba) - prompt: fix a bug that lonig rps1 is not correctly turned off
#D14019266961 (master: d84bcd8) - prompt: fix extra spaces on line folding before double width character
#D14009266961 (master: d84bcd8) - syntax (glob bracket expression): fix a bug of unsupported POSIX brackets
#D1402e1eca65 (master: 6fd9e22) - syntax (
ble/syntax:bash/simple-word/evaluate-path-spec): fix a bug of unrecognized[!...]and[^...]#D140350fcd03 (master: 0b842f5) - highlight: fix remaininig highlighting of vanishing words
#D1421#D14220f85719 (master: 1066653) - highlight: fix unhighlighted tilde expansions
~+(reported by cmplstofB)#D14241f9abf6 (master: a32962e) - complete: fix a problem that the user setting
dotglobis changed#D1425e26867d (master: 987436d) - complete: fix a problem of redundant unmatched ambiguous part with tilde expansions in the common prefix
#D141720cb6af (master: 5777d7f) - complete (
source:file): fix a bug that tilde expansion candidates are always filtered out#D141620cb6af (master: 5777d7f) - complete (
cd): fix duplicate candidates byCDPATH(reported by Lennart00 atoh-my-bash)#D141520cb6af (master: 5777d7f)
Compatibility
- msys2: support2 MSYS (motivated by SUCHMOKUO)
#D1264500e051 (master: 47e2863)- edit: support
\$inPS1for MSYS2#D1265b8c2ca6 (master: f6f8956) - edit: fixup b8c2ca6 fe78bd6 (master: N/A)
- msys2: work around MSYS2 Bash bug of missing CR
#D12708c09190 (master: 71f3498)
- edit: support
- edit (
ble/widget/bracketed-paste): fix error messages onpaste_endin older version of Bash (test-util) 1631069 (master: b2c7d1c) - decode: work around Bash-3.1 bug of
declare -frejecting special characters in function names (test-util) 1631069 (master: b2c7d1c) - util (
ble/variable#get-attr): fix a bug that attributes are not obtained in Bash <= 4.3 (test-util) 1631069 (master: b2c7d1c) - decode: work around Bash-4.1 bug that locale not applied with
LC_CTYPE=C eval command(test-util) 1631069 (master: b2c7d1c) - complete: follow Bash-5.1 change of arithmetic literal
10##D1322b58f006 (master: 557b774) - decode: work around Bash-4.1 arithmetic bug of array subscripts evaluated in discarded branches
#D1320b58f006 (master: 557b774) - decode: fix a bug of broken cmap cache found in ble-0.3
#D13274b15993 (master: 16b56bf) - util (strftime): fix a bug not working with
-v varoption in Bash <= 4.1 (test-util) 360211c (master: f1a2818) - complete: work around slow
compgen -cin Cygwin#D1329185a443 (master: 5327f5d) - edit: work around problems with
mc(reported by onelittlehope)#D13924d534b4 (master: e97aa07)- highlight: fix a problem that the attribute of the last character is applied till EOL
#D1393f47a5b8 (master: 2ddb1ba)#D13958c1e17c (master: ef09932)
- highlight: fix a problem that the attribute of the last character is applied till EOL
Internal
- global: check isolated identifiers and leak variables
#D1246f92ba5c (master: 19cc99d) 9461953 (master: 2e74b6d) - main: unset
BLE_VERSION,_ble_bash, etc. onble-unload#D13822bbd0fb (master: 6b615b6)- complete: fix unfiltered tilde expansions
#D141420cb6af (master: 5777d7f)
- complete: fix unfiltered tilde expansions
ble-0.2.6
New features
- syntax: allow unquoted
[!and[^insimple-word(reported by cmplstofB)#D13035cff40f (master: 1efe833)
Changes
- edit: preserve
PS1wheninternal_suppress_bash_outputis set#D134472ae9c6 (master: 6ede0c7)
Fix
- decode: use
BREinstead ofEREforPOSIX sed(reported by dylankb)#D1283bca4598 (master: 2184739) - vi (vi-command/nth-column): fix a bug in arithmetic expansion (reported by andychu)
#D12924260bc2 (master: da6cc47) - syntax: fix failglob errors of heredocs of the form
<<$(echo A)#D13081f874ba (master: 3212fd2) - util (
bleopt): fix a bug that a new setting is not defined withname:=(test-util)#D1312a9eb0e9 (master: c757b92) - util (
ble/util/{save,restore}-vars): fix a bug thatnameandprefixcannot be saved/restored (test-util) 49841db (master: 5f2480c) - edit: fix a bug that
set +His cancelled on command execution#D13322ff6d06 (master: 02bdf4e) - syntax (
ble/syntax/parse/shift): fix a bug of shift skip in nested words#D1333bc935bd (master: 65fbba0) - util (
ble-stackdump): fix a shift of line numbers#D1337b597e90 (master: a14b72f) - edit (
ble-bind -x): check range ofREADLINE_{POINT,MARK}#D133947a93e8 (master: efe1e81) - util (
ble/string#to{upper,lower}): work aroundLC_COLLATE=en_US.utf8(test-util)#D13415b32621 (master: 1f6b44e)#D1355b38ef10 (master: 4da6103) - util (encoding, keyseq): fix miscelleneous encoding bugs (test-util) 03c0b44 (master: 435bd16)
- edit: work around
WINCHnot updatingCOLUMNS/LINESafterble-reload#D134550af6a5 (master: a190455) - syntax: allow single-character variable name in named redirections
{a}<>#D1360f81734f (master: 4760409) - syntax (glob bracket expression): fix a bug of unsupported POSIX brackets
#D1402b7ea892 (master: 6fd9e22) - highlight: fix remaininig highlighting of vanishing words
#D1421#D1422cc5e4d1 (master: 1066653) - highlight: fix unhighlighted tilde expansions
~+(reported by cmplstofB)#D14243f7f044 (master: a32962e)
Compatibility
- msys2: support2 MSYS (motivated by SUCHMOKUO)
#D12647cf81c0 (master: 47e2863)- edit: support
\$inPS1for MSYS2#D12658f44624 (master: f6f8956) - msys2: work around MSYS2 Bash bug of missing CR
#D1270bbe1b61 (master: 71f3498)
- edit: support
- edit (
ble/widget/bracketed-paste): fix error messages onpaste_endin older version of Bash (test-util) a80f1d1 (master: b2c7d1c) - decode: work around Bash-3.1 bug of
declare -frejecting 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
#D1327366e8c1 (master: 16b56bf) - util (strftime): fix a bug not working with
-v varoption in Bash <= 4.1 (test-util) 4f11463 (master: f1a2818) - complete: work around slow
compgen -cin Cygwin#D1329887be6e (master: 5327f5d) - edit: work around problems with
mc(reported by onelittlehope)#D1392a2d6099 (master: e97aa07)
Internal
- global: check isolated identifiers and leak variables
#D1246146c98b (master: 19cc99d)
ble-0.1.14
Change
- edit: preserve
PS1wheninternal_suppress_bash_outputis set#D1344549f8f5 (master: 6ede0c7)
Fix
- fixup ab01ceb 8129816 (v0.2: 51bde60)
- decode: use
BREinstead ofEREforPOSIX sed(reported by dylankb)#D12831244d86 (master: 2184739) - edit: fix a bug that
set +His cancelled on command execution#D1332ba3687a (master: 02bdf4e) - syntax (
ble/syntax/parse/shift): fix a bug of shift skip in nested words#D133316fb351 (master: 65fbba0) - util (
ble-stackdump): fix a shift of line numbers#D13375d5b86b (master: a14b72f) - edit (
ble-bind -x): check range ofREADLINE_{POINT,MARK}#D13396909cc0 (master: efe1e81) - util (
ble/string#to{upper,lower}): work aroundLC_COLLATE=en_US.utf8(test-util)#D134131476cc (master: 1f6b44e)#D135565cab5c (master: 4da6103) - util (encoding, keyseq): fix miscelleneous encoding bugs (test-util) 11d8db7 (master: 435bd16)
- edit: work around
WINCHnot updatingCOLUMNS/LINESafterble-reload#D1345e15c5a6 (master: a190455) - syntax: allow single-character variable name in named redirections
{a}<>#D13606bbed24 (master: 4760409) - highlight: fix remaininig highlighting of vanishing words
#D1421#D1422bf8fdc8 (master: 1066653)
Compatibility
- global: work around Bash 3.2 bug of array initialization with SOH/DEL
#D1238566f53e (master: defdbd4)#D1241 - msys2: support2 MSYS (motivated by SUCHMOKUO)
#D126419a36ea (master: 47e2863)- edit: support
\$inPS1for MSYS2#D12658658738 (master: f6f8956) - msys2: work around MSYS2 Bash bug of missing CR
#D1270b72c063 (master: 71f3498)
- edit: support
- decode: fix a bug of broken cmap cache found in ble-0.3
#D1327fc6ded3 (master: 16b56bf) - util (strftime): fix a bug not working with
-v varoption in Bash <= 4.1 (test-util) cb2389c (master: f1a2818) - complete: work around slow
compgen -cin Cygwin#D1329d6d49cc (master: 5327f5d) - edit: work around problems with
mc(reported by onelittlehope)#D139215111cf (master: e97aa07)
Internal
- global: check isolated identifiers and leak variables
#D124603b3204 (master: 19cc99d) 2e74b6d