Skip to content

Commit

Permalink
complete: fix error messages of "continue 0" (fixup a0b2ad2)
Browse files Browse the repository at this point in the history
  • Loading branch information
akinomyoga committed Dec 22, 2021
1 parent 0ac7f03 commit 92d9734
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/ChangeLog.md
Expand Up @@ -238,7 +238,7 @@
- prompt: use `${PS1@P}` when the prompt contains only safe prompt sequences `#D1617` 8b5da08
- prompt: fix not properly set `$?` in `${PS1@P}` evaluation (reported by nihilismus) `#D1644` 521aff9
- decode: cache `inputrc` translations `#D1652` 994e2a5
- complete: use `awk` for batch `quote-insert` (motivated by banoris) `#D1714` a0b2ad2
- complete: use `awk` for batch `quote-insert` (motivated by banoris) `#D1714` a0b2ad2 0000000

## Compatibility

Expand Down
2 changes: 1 addition & 1 deletion lib/core-complete.sh
Expand Up @@ -1989,7 +1989,7 @@ function ble/complete/cand/yield.batch {
local CAND=${cands[i]} INSERT=${inserts[i]}

[[ $flag_force_fignore ]] && ! ble/complete/.fignore/filter "$CAND" && continue
[[ $flag_source_filter ]] || ble/complete/candidates/filter#test "$CAND" || continue 0
[[ $flag_source_filter ]] || ble/complete/candidates/filter#test "$CAND" || continue

local PREFIX_LEN=0
[[ $CAND == "$COMP_PREFIX"* ]] && PREFIX_LEN=${#COMP_PREFIX}
Expand Down
2 changes: 2 additions & 0 deletions note.txt
Expand Up @@ -5973,6 +5973,8 @@ bash_tips
A & で起動したコマンドは、どうも外側でリダイレクトした fd から読み出せていない様だ。
A の内部でリダイレクトする様に変更したら動く様になった。

2021-12-22 追加修正。"continue 0" という文が混入していた。

* ble/string#escape-for-bash-specialchars で HT を SP HT に置換しているのは何故? [#D1713]
manu-complete 最適化中に気づいた事。

Expand Down

0 comments on commit 92d9734

Please sign in to comment.