zsh-autosuggestions/spec
Frad LEE cd66c5695a refactor(ai): replace empty buffer with min input
- Replace ZSH_AUTOSUGGEST_ALLOW_EMPTY_BUFFER with AI_MIN_INPUT
- Add ZSH_AUTOSUGGEST_AI_DEBUG environment variable
- Add debug logging function to diagnose failures
- Update history lines default from 20 to 5
- Update pwd history preference default to no

Min input provides clearer semantics: set to 0 for empty-buffer
suggestions or higher to require minimum input. Debug logging helps
diagnose missing suggestions by showing API request flow.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-02-05 14:39:12 +08:00
..
integrations Fix deleting last character in vi mode (#302) 2019-06-22 16:34:42 -06:00
options Enable async mode by default in newer versions of zsh 2020-01-26 21:18:49 -07:00
strategies refactor(ai): replace empty buffer with min input 2026-02-05 14:39:12 +08:00
widgets Enabling suggestions should not fetch a suggestion if buffer is empty 2017-03-05 12:53:13 -05:00
async_spec.rb Don't fetch suggestions after copy-earlier-word 2019-06-14 13:19:07 -06:00
kill_ring_spec.rb Don't break kill ring rotation 2018-05-15 12:54:09 -06:00
line_init_spec.rb Remove hard-coded ignore of zle-* widgets and add to default config 2019-06-14 16:38:28 -06:00
multi_line_spec.rb Rewrite with_history test helper to be more robust 2020-05-06 07:31:37 -06:00
spec_helper.rb Rewrite with_history test helper to be more robust 2020-05-06 07:31:37 -06:00
terminal_session.rb Revert async process substitution & completion strategy 2018-12-16 20:49:06 -07:00