Skip to content

2024-09-04

Latest
Compare
Choose a tag to compare
@marlonrichert marlonrichert released this 04 Sep 07:55
762afac

Release notes for Zsh Autocomplete version 24.09.04

This release introduces the following changes in user-observable behavior. All changes have been contributed by Autocomplete's author, Marlon Richert (@marlonrichert), unless mentioned otherwise.

Potentially breaking changes

  • 338c35e Remove ancestor dirs feature. Closes #675.
  • a8fdd21 Move recent paths completion to a keybinding. Resolves #640.
  • 3b68cf4 Don't add ^X/ to the main keymap. Add it only to the emacs keymap.
  • adfade3 Let max-lines default to 16
  • 5cd2221 Restore omitted menu keybindings for tab and shift-tab

Bug fixes

  • b62154d Show all possible completions in command position at once. Fixes #672.
  • da1f85f Work around more _describe quirks. Fixes #635.
  • 453df9e Fix bug in fuzzy history sort weights. Fixes #626.
  • fccc045 Remove : from file names. Fixes #623.
  • 5624f7b Fix problem where alternative async completion modes would return 0 results
  • 710752f Fix infinite loop in recent paths completion
  • 008caae Make minimum delay more accurate
  • bbbefed Fix bugs in handling of external widgets. The old code would break the behavior of certain widgets that aren't ours.
  • 0f95e34 Fix check for history lines in common substring logic
  • 8aae270 Fix bug in recent dir sorting
  • 118b4c3 Fix bugs in the handling of $compstate[unambiguous]
  • 9268521 Fix completer order
  • 620ffca Avoid triggering WARN_CREATE_GLOBAL
  • 1968100 Fix bugs in recent-paths widget:
    • Limit number of lines shown.
    • Don't show common substring.
    • Let lowercase match uppercase.
    • Let completion widgets insert recent paths even when the list isn't yet visible.
  • 87a0c5a Complete recent files with globbed-files comp tag. Contributed by Tomas Slusny (@deathbeam). Thanks, Tomas!
    • Complete recent files (if defined) if comp tag contains globbed-files
    • Set proper description for the completion (atm both are called recent directory which is wrong)

Enhancements

  • 80ded2d Allow abbreviated paths to be completed. Closes #677.
  • d1bbeca Try fuzzy completion before spelling correction
  • a66d6ae Rewrite list trimming to cover more edge cases
  • 12e1a7f Make inserting a completion reset the completion context to default
  • 2912c97 Change the group titles of _expand completions.
  • faed81e Improve git arguments completion
  • 545051e Simplify keybinding system
  • 8f54aab Simplify recent dirs completion
  • f3fdcfa Improve the handling of kill/yank sequences
  • 480688a Tweak complete-word behavior
  • 283d4bc Allow add-space setting to be widget-specific
  • a46347b Don't complete ancestor dirs as recent dirs
  • dc22275 Reduce number of chars corrected in short words
  • 9b62c13 Complete ancestor dirs after recent dirs
  • 4925cb7 Improve & document completion matching

Readme updates

Thanks go out to Vincent Xiao (@vxio), @3xploiton3, John Valai (@jv-k) and Vinny Meller (@vinnymeller) for various fixes, additions and improvements to the Readme file.