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!
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!
FS#76051 - [python-black] Completions for black are overwritten by blackd
Attached to Project:
Community Packages
Opened by Pig Monkey (pigmonkey) - Wednesday, 28 September 2022, 22:01 GMT
Last edited by Daniel M. Capella (polyzen) - Thursday, 29 September 2022, 00:18 GMT
Opened by Pig Monkey (pigmonkey) - Wednesday, 28 September 2022, 22:01 GMT
Last edited by Daniel M. Capella (polyzen) - Thursday, 29 September 2022, 00:18 GMT
|
DetailsDescription:
I currently have no completions for `black` in my shell. I use zsh. When I look in `/usr/share/zsh/site-functions/_black`, I only see completion definitions for `blackd` (which I do not use). In the PKGBUILD I see that completions are installed by `_BLACK_COMPLETE=zsh_source test-env/bin/black > "$pkgdir/usr/share/zsh/site-functions/_black"` A few lines later, the contents of that file are blown away by `_BLACKD_COMPLETE=zsh_source test-env/bin/blackd > "$pkgdir/usr/share/zsh/site-functions/_black` All of the `>` redirects used to install the `blackd` completions should probably be replaced with `>>` so that they append to the completion file, rather than truncate it. https://zsh.sourceforge.io/Doc/Release/Redirection.html Additional info: * 22.8.0-2 Steps to reproduce: cat /usr/share/zsh/site-functions/_black |
This task depends upon
Closed by Daniel M. Capella (polyzen)
Thursday, 29 September 2022, 00:18 GMT
Reason for closing: Fixed
Additional comments about closing: 22.8.0-3
Thursday, 29 September 2022, 00:18 GMT
Reason for closing: Fixed
Additional comments about closing: 22.8.0-3