Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#77301 - [swayimg] zsh completion file incorrectly formatted

Attached to Project: Community Packages
Opened by Mateo Rekow (kookies) - Saturday, 28 January 2023, 22:07 GMT
Last edited by Brett Cornwall (ainola) - Sunday, 29 January 2023, 17:20 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Brett Cornwall (ainola)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
The zsh completion file included in the swayimg package (/usr/share/zsh/site-functions/_swayimg) has a space instead of a comma between the short and long forms of the "slideshow" flag. ('-l --slideshow' instead of the correct '-l,slideshow'). This temporarily breaks zsh tab completion for swayimg unless manually fixed


Additional info:
* package version(s):
-swayimg 1.9-4 (https://archlinux.org/packages/community/x86_64/swayimg/)

Steps to reproduce:
Under zsh, attempt to use tab completion with swayimg. The following error will appear:` _arguments:comparguments:327: invalid argument: (-l --slideshow){-l`
This task depends upon

Closed by  Brett Cornwall (ainola)
Sunday, 29 January 2023, 17:20 GMT
Reason for closing:  Fixed
Additional comments about closing:  swayimg-1.10-1 fixes this!
Comment by Brett Cornwall (ainola) - Sunday, 29 January 2023, 06:39 GMT
Thanks for the report!

This has already been fixed upstream (see https://github.com/artemsen/swayimg/commit/e938dc5b04bb54dd3f3a89a71d46c7a53ac087bd)

I've opened https://github.com/artemsen/swayimg/issues/63 asking for a new release since there are other since-fixed issues that would be nice to have.

Loading...