[Bash-completion-devel] Bug#657318: bash-completion: improve zutils completion

Christoph Anton Mitterer calestyo at scientia.net
Wed Jan 25 15:29:00 UTC 2012


Package: bash-completion
Version: 1:1.99-3
Severity: normal


Hi.

The zutils programs:
/bin/zfgrep
/bin/zcat
/bin/zdiff
/bin/zutils
/bin/zgrep
/bin/zcmp
/bin/zegrep
/bin/ztest

Seem to only complete files with several endings (e.g. *.gz).
It should at least complete all endings supported by zutils, which are much
more (*.xz etc. etc.).

But actually all files should be completed, regardless of the file extension.
zutils can also cope with uncompressed files and this is quite handy, e.g.:
zgrep foo /var/log/syslog*
with:
-rw-r----- 1 root adm 360k Jan 25 16:24 syslog
-rw-r----- 1 root adm 1,2M Jan 25 01:47 syslog.1
-rw-r----- 1 root adm  54k Jan 24 09:15 syslog.2.xz
-rw-r----- 1 root adm  51k Jan 23 10:02 syslog.3.xz

Cheers,
Chris.





More information about the Bash-completion-devel mailing list