Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes zsh completion dependency on specific awk/sed/sqlite3 versions and settings #5081

Merged
merged 2 commits into from
Jan 17, 2024

Conversation

mthies-unibi
Copy link

@mthies-unibi mthies-unibi commented Jan 15, 2024

Description

The zsh completion script for the beet command is more portable now:

  • avoids the mawk-specific {,n} regex operator
  • a directly usable sqlite3 output format is selected explicitly, when retrieving suggestions for field values; this avoids the previously used GNU-sed-specific post-processing of the sqlite3 output
  • zsh completion caching is enabled for the beet command and its parameter contexts, even if not enabled globally by the user; caching is required for field value suggestions

Fixes #3546.

To Do

  • Documentation. (If you've added a new command-line flag, for example, find the appropriate page under docs/ to describe it.)
  • Changelog. (Add an entry to docs/changelog.rst to the bottom of one of the lists near the top of the document.)
  • Tests. (Very much encouraged but not strictly required.)

Michael Thies added 2 commits January 15, 2024 09:58
- avoids the mawk-specific {,n} regex operator
- a directly usable sqlite3 output format is selected explicitly, when retrieving suggestions for field values; this avoids the previously used GNU-sed-specific post-processing of the sqlite3 output
- completion caching is enabled for the beet command and its parameter contexts, even if not enabled globally by the user; caching is required for field value suggestions
@Serene-Arc Serene-Arc merged commit ddb34de into beetbox:master Jan 17, 2024
13 checks passed
@arrrgi
Copy link

arrrgi commented Jan 17, 2024

Thanks @mthies-unibi !!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

beet zsh completion bug
3 participants