diff --git a/README-ja_JP.md b/README-ja_JP.md index 64030d1a..75f271e7 100644 --- a/README-ja_JP.md +++ b/README-ja_JP.md @@ -8,8 +8,8 @@ 逆引き ]

-`ble.sh`†1 (*Bash Line Editor*) -はピュア Bash†2 +`ble.sh`†1 (*Bash Line Editor*) +はピュア Bash†2 スクリプトで書かれたコマンドラインエディタで、標準の GNU Readline を置き換える形で動作します。 現在の開発バージョンは 0.4 です。 diff --git a/README.md b/README.md index 4e843683..4cc87d18 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ Recipes ]

-*Bash Line Editor* (`ble.sh`†1) is a command line editor written in pure Bash†2 which replaces the default GNU Readline. +*Bash Line Editor* (`ble.sh`†1) is a command line editor written in pure Bash†2 which replaces the default GNU Readline. The current devel version is 0.4. This script supports Bash 3.0 or higher although we recommend using `ble.sh` with release versions of **Bash 4.0 or higher**. @@ -29,7 +29,7 @@ and [Sec 1.3](#set-up-bashrc) for the setup of your `~/.bashrc`.
Download and generate ble.sh using git -This requires the commands `git`, `make` (GNU make), and `gawk` (GNU awk)†3. +This requires the commands `git`, `make` (GNU make), and `gawk` (GNU awk)†3. In the following, please replace `make` with `gmake` if your system provides GNU make as `gmake` (such as in BSD). ```bash diff --git a/contrib b/contrib index 4eaf0929..b34bec2b 160000 --- a/contrib +++ b/contrib @@ -1 +1 @@ -Subproject commit 4eaf0929b6ebcee00fcc791e1d165f8174a9c1f5 +Subproject commit b34bec2b8eae89c412fb65ffab8fd21412a3f5c8 diff --git a/docs/ChangeLog.md b/docs/ChangeLog.md index c13f192c..cd6795fe 100644 --- a/docs/ChangeLog.md +++ b/docs/ChangeLog.md @@ -52,7 +52,7 @@ - syntax: support arbitrary suffixes in `bleopt filename_ls_colors` `#D2213` e169e31d - util(vbell): support `bleopt vbell_align=panel` (requested by bb010g) `#D2228` fe85e0dd - highlight: reflect the top-level positional parameters `#D2246` f08e8f08 -- color: adjust default fg values in faces and add `bleopt color_scheme` (requested by mattmc3) `#D2248` e4cce0ea xxxxxxxx +- color: adjust default fg values in faces and add `bleopt color_scheme` (requested by mattmc3) `#D2248` e4cce0ea 5f5554a8 - highlight: add `bleopt highlight_eval_word_limit` (motivated by orionalves) `#D2256` 6833bdf8 ## Changes @@ -75,7 +75,7 @@ - decode (`ble-bind`): support combined option arguments of the forms `--long=OPTARG` and `-kOPTARG` `#D2211` 1b16d399 - canvas: use `_ble_term_invis` to hide characters used to determine char-width modes (requested by tessus) `#D2223` 8bb302e0 - canvas: hide cursor during char-width detection (requested by tessus) `#D2232` 0ff29b26 -- exec: refine the elapsed time resolution `#D2249` 67548656 +- exec: refine the elapsed time resolution `#D2249` 67548656 xxxxxxxx ## Fixes diff --git a/note.txt b/note.txt index 4bd22ea9..d9f92ae3 100644 --- a/note.txt +++ b/note.txt @@ -7711,11 +7711,18 @@ bash_tips 設定例を contrib に追加するのが良い気がする。これは fzf-completion.bash の 中に直接追加する事にした。 + 2024-08-22 改めて試してみたら空文字列の時の振る舞いが怪しい。修正する。 + + 2024-08-22 また観察していたら引数をちゃんと使っていない事に気付いた。修正す + る。また fzf.md に説明を追記する。 + * contrib: fzf-menu (motivated by pallaswept) [#D2251] https://github.com/akinomyoga/ble.sh/issues/479 これについても設定を contrib に追加する事にする。というか既に追加してある。 + 2024-08-22 これも説明を fzf.md に追加した。 + * [OK] fzf-key-bindings: M-c binding が動かない (asked by markaacosta) [#D2250] https://github.com/akinomyoga/blesh-contrib/issues/21 @@ -7736,6 +7743,8 @@ bash_tips 結局ユーザーが設定を間違えていただけだった。改めて README を見ていて分かり にくかったので README の余分な部分は分離することにした。 + 2024-08-22 註の marker が小さくなっていない。小さくする。 + * contrib: exec_elapsed_mark 設定 (motivated by paulzzy, TheFantasticWarrior) [#D2249] * exec_elapsed_mark からコマンド名を削除する方法 @@ -7747,6 +7756,8 @@ bash_tips ble/exec/time#format-elapsed-time に括りだした。序に ns の分解能での表示に 対応する事にする。 + 2024-08-22 単位が us ではなくて ns になっていた。修正する。 + 2024-08-19 * color: パレット再考 (requested by mattmc3) [#D2248] @@ -7949,6 +7960,11 @@ bash_tips ~/.blerc に color_scheme を記述すると初期化エラーになるという報告。単に初期 化の順序を間違っていた。 + 2024-08-22 colorglass_blindness が clear できない。説明では空文字列で clear + できる事になっているが、実際の実装では none が color blindness なしという事 + になっている。然し、bleopt/check:color_blindness が間違っている所為で none + を設定できない。 + 2024-08-14 * select: C-o で region 選択が解除されずにコマンドが表示される [#D2247] diff --git a/src/edit.sh b/src/edit.sh index 569c08e7..ee0382e5 100644 --- a/src/edit.sh +++ b/src/edit.sh @@ -6924,7 +6924,7 @@ function ble/exec/time#start { function ble/exec/time#format-elapsed-time { ret=$_ble_exec_time_ata if ((ret%1000!=0&&ret<1000)); then - ret="${ret}ns" + ret="${ret}us" elif ((ret%1000!=0&&ret<1000*100)); then ret="${ret::${#ret}-3}.${ret:${#ret}-3:2}ms" elif ((ret/=1000,ret<1000)); then