Control: reassign -1 libreoffice

Hi, I believe the libreoffice package produces its own completion files
(which is awesome), thus reassigning.

A patch for this would probably look like:

--- bin/generate-bash-completion.py     2023-06-19 18:32:31.988021669 -0700
+++ bin/generate-bash-completion.py.PATCH       2023-06-19 18:32:21.816021649 
-0700
@@ -39,7 +39,7 @@
 
 WRITERDOCS = ["doc", "dot", "rtf", "sxw", "stw", "sdw", "vor", "txt", "htm?",
               "xml", "wp", "wpd", "wps", "odt", "ott", "fodt", "docm", "docx",
-              "dotm", "dotx"]
+              "dotm", "dotx", "pages"]
 
 TEMPLATES = ["stw", "dot", "vor", "stc", "xlt", "sti", "pot", "std", "stw",
              "dotm", "dotx", "potm", "potx", "xltm", "xltx"]

Best regards,
Gabriel


On Sun, 19 Mar 2023 08:50:13 +0100
Helge Kreutzmann <deb...@helgefjell.de> wrote:

> Package: bash-completion
> Version: 1:2.11-6
> Severity: wishlist
> 
> I got a .pages file a few days ago. I did not know how to handle it and
> by chance realized libreoffice can open it just fine. Unfortunately
> this is not clear in the shell, as bash refuses to complete the file
> name by default.
> 
> Probably the following change should do the trick:
> -_install_xspec 
> '!*.@(sxw|stw|sxg|sgl|doc?([mx])|dot?([mx])|rtf|txt|htm|html|?(f)odt|ott|odm|pdf)'
>  oowriter lowriter
> +_install_xspec 
> '!*.@(sxw|stw|sxg|sgl|doc?([mx])|dot?([mx])|rtf|txt|htm|html|?(f)odt|ott|odm|pdf|pages)'
>  oowriter lowriter
> 
> 
> 
> -- System Information:
> Debian Release: bookworm/sid
>   APT prefers testing-security
>   APT policy: (500, 'testing-security'), (500, 'testing')
> Architecture: amd64 (x86_64)
> 
> Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) (ignored: 
> LC_ALL set to de_DE.UTF-8), LANGUAGE not set
> Shell: /bin/sh linked to /usr/bin/dash
> Init: systemd (via /run/systemd/system)
> 
> -- no debconf information
> 

Reply via email to