[Bash-completion-devel] [bash-completion-Bugs][311613] tar completion with xz
bash-completion-bugs at alioth.debian.org
bash-completion-bugs at alioth.debian.org
Wed Apr 22 14:01:20 UTC 2009
Bugs item #311613, was changed at 2009-04-22 08:55 by Mike Kelly
You can respond by visiting:
https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=311613&group_id=100114
>Status: Closed
Priority: 3
Submitted By: Eric Blake (eblake-guest)
Assigned to: Nobody (None)
Summary: tar completion with xz
Distribution: --Distribution-Agnostic--
Originally reported in: None
Milestone: None
>Status: Fix Committed
Original bug number:
Initial Comment:
I noticed that tar completion in 1.0 finally supports lzma files. However, tar 1.22 changed -J from lzma over to xz (xz is the replacement for lzma, which understands the obsolete .lzma file format but also the new .xz file format).
This part of _tar:
*[J]*f)
ext='t?(ar.)lz?(ma)';
regex='t\(ar\.\)\?lzma\?'
should probably be rewritten:
*[J]*f)
ext='t?(ar.)[lx]z?(ma)';
regex='t\(ar\.\)\?[xl]z\(ma\?\)?'
----------------------------------------------------------------------
>Comment By: Mike Kelly (pioto-guest)
Date: 2009-04-22 10:01
Message:
I already fixed this in git, change 3217cff1efbecd85710853564f93648fd2f597ce.
----------------------------------------------------------------------
You can respond by visiting:
https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=311613&group_id=100114
More information about the Bash-completion-devel
mailing list