Bug#888090: bash-completion: Allow to run python zipapp (pyz files)

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Bug#888090: bash-completion: Allow to run python zipapp (pyz files)

Salvo Tomaselli-3
Package: bash-completion
Version: 1:2.1-4.3
Severity: normal
Tags: patch

Dear Maintainer,

Currently the completion does not support python zipapp files. This means that
tab doesn't complete them at all and I need to ls and then copy-paste the name
of the file.

Here's a patch to fix this.

Best

-- System Information:
Debian Release: 9.3
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to it_IT.UTF-8), LANGUAGE=it (charmap=UTF-8) (ignored: LC_ALL set to it_IT.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages bash-completion depends on:
ii  bash  4.4-5
ii  dpkg  1.18.24

bash-completion recommends no packages.

bash-completion suggests no packages.

-- no debconf information

pycomp.patch (668 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Bug#888090: bash-completion: Allow to run python zipapp (pyz files)

Gabriel F. T. Gomes-2
Hi, Salvo,

I have just now noticed this bug report.

Although I'm not yet the maintainer of bash-completion, I have an ITA
opened for it.  While adopting the package, I'm also upgrading
bash-completion to a newer version, which I believe solves the problem you
reported.

I'll mark this bug as fixed in the changelog, so that it gets
automatically closed.

Thanks for reporting the bug (and for the help with packaging).
Gabriel

On Tue, 23 Jan 2018, Salvo Tomaselli wrote:

>Package: bash-completion
>Version: 1:2.1-4.3
>Severity: normal
>Tags: patch
>
>Dear Maintainer,
>
>Currently the completion does not support python zipapp files. This means that
>tab doesn't complete them at all and I need to ls and then copy-paste the name
>of the file.
>
>Here's a patch to fix this.
>
>Best
>
>-- System Information:
>Debian Release: 9.3
>  APT prefers stable
>  APT policy: (500, 'stable')
>Architecture: amd64 (x86_64)
>Foreign Architectures: i386
>
>Kernel: Linux 4.9.0-5-amd64 (SMP w/4 CPU cores)
>Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to it_IT.UTF-8), LANGUAGE=it (charmap=UTF-8) (ignored: LC_ALL set to it_IT.UTF-8)
>Shell: /bin/sh linked to /bin/dash
>Init: systemd (via /run/systemd/system)
>
>Versions of packages bash-completion depends on:
>ii  bash  4.4-5
>ii  dpkg  1.18.24
>
>bash-completion recommends no packages.
>
>bash-completion suggests no packages.
>
>-- no debconf information