Skip to content

Commit c6bcb82

Browse files
committed
complete: fix stray "}" after the completion prefix (fixup 8bea90d)
1 parent f6a3a11 commit c6bcb82

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

docs/ChangeLog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,7 @@
240240
- main: workaround coreutils `stty` in macOS (reported by EmilyGraceSeville7cf, sshresthaEG, syuraj, seefood, arc279) `#D2348` cdda9f9b
241241
- main (`ble/bin#freeze-utility-path`): use `command` to call the command `#D2349` df6a4dad
242242
- util (`ble/array#fill-range`): work around bash-5.2 array bug for wrong syntax highlighting `#D2352` 8bea90d1
243+
- complete: fix stray `}` after the completion prefix (fixup 8bea90d1) (reported by cmndrsp0ck) `#D2359` xxxxxxxx
243244
- util (`ble/util/load-standard-builtins`): extend search paths `#D2357` xxxxxxxx
244245
- canvas: avoid using <kbd>DL</kbd> at the top to clear lines (requeted by u/JustABro_2321 aka AB-boi) `#D2358` xxxxxxxx
245246

lib/core-complete.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4478,7 +4478,7 @@ function ble/complete/progcomp/process-compgen-output {
44784478
[[ $has_desc ]] && bleopt complete_menu_style=desc
44794479
else
44804480
[[ $progcomp_prefix ]] &&
4481-
ble/array#map-prefix cands "$progcomp_prefix}"
4481+
ble/array#map-prefix cands "$progcomp_prefix"
44824482
fi
44834483
ble/complete/cand/yield.batch "$action" "$comp_opts"
44844484
}

note.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7857,6 +7857,16 @@ bash_tips
78577857
Done (実装ログ)
78587858
-------------------------------------------------------------------------------
78597859

7860+
2025-06-05
7861+
7862+
* complete: 補完結果に } が混入する (reported by cmndrsp0ck) [#D2359]
7863+
https://github.com/akinomyoga/ble.sh/issues/589
7864+
Ref #D2352
7865+
7866+
開発用の ble.sh セッションでは発生しないが新しいセッションで再現する。これ
7867+
は単に最近の変更で発生する様になっただけだった。8bea90d1 (#D2352) の書き換
7868+
えで失敗している。
7869+
78607870
2025-06-03
78617871

78627872
* 2025-05-28 canvas: 複数行プロンプトで startup 時に scrollback にごみが残る (reported by u/JustABro_2321) [#D2358]

0 commit comments

Comments
 (0)