diff --git a/docs/ChangeLog.md b/docs/ChangeLog.md index 1d89e9b7..0cc811b4 100644 --- a/docs/ChangeLog.md +++ b/docs/ChangeLog.md @@ -268,6 +268,7 @@ - edit: fix an unexpected leave from the command layout on `read` `#D1800` 4dbf16f - history: work around possible dirty prefix `*` in the history output `#D1808` 64a740d - decode (`ble-bind`): fix the printed definition of `-c`/`-x` bindings `#D1821` 94de078 +- command-help (`.read-man`): add missing `ble/util/assign/.rmtmp` `#D1840` XXXXXXX ## Documentation @@ -366,7 +367,7 @@ - complete: work around blocking `_scp_remote_files` and `_dnf` (reported by iantra) `#D1807` a4a779e 46f5c13 - history: work around broken timestamps in `HISTFILE` (reported by johnyaku) `#D1831` 5ef28eb - progcomp: disable `command_not_found_handle` (reported by telometto, wisnoskij) `#D1834` 64d471a d5fe1d1 973ae8c -- complete: add completion integration with `zoxide` (reported by ferdinandyb) `#D1838` XXXXXXX +- complete: add completion integration with `zoxide` (reported by ferdinandyb) `#D1838` a96bafe ## Internal changes and fixes diff --git a/note.txt b/note.txt index 99545d42..3fa69b08 100644 --- a/note.txt +++ b/note.txt @@ -6463,6 +6463,10 @@ bash_tips 2022-07-10 + * command-help (ble/widget/command-help/.read-man): ble/util/assign/.rmtmp を忘れている [#D1840] + + 0.2 backport 中に気づいた。これは単純に追加すれば良い。 + * encoding:C: 初期化出来ない。大量のエラーメッセージ [#D1839] 0.2 backport 中に気づいたのだが encoding:C で既に削除された関数 diff --git a/src/edit.sh b/src/edit.sh index 980a1dc8..3c99908b 100644 --- a/src/edit.sh +++ b/src/edit.sh @@ -9427,6 +9427,7 @@ function ble/widget/command-help/.read-man { local pager="sh -c 'cat >| \"\$_ble_local_tmpfile\"'" MANPAGER=$pager PAGER=$pager MANOPT= man "$@" 2>/dev/null; local ext=$? # 668ms ble/util/readfile man_content "$_ble_local_tmpfile" # 80ms + ble/util/assign/.rmtmp return "$ext" } diff --git a/src/util.sh b/src/util.sh index fcb43954..76c10c42 100644 --- a/src/util.sh +++ b/src/util.sh @@ -877,7 +877,7 @@ function ble/string#last-index-of { } ## @fn ble/string#toggle-case text -## @fn ble/string#touppwer text +## @fn ble/string#toupper text ## @fn ble/string#tolower text ## @param[in] text ## @var[out] ret