Fix completion of files inside *.tar.bz2 archives when [Ijy] is not given.
This commit is contained in:
parent
14fc9f2965
commit
91c13f0eed
2
CHANGES
2
CHANGES
@ -2,7 +2,7 @@ bash-completion (2.x)
|
||||
|
||||
[ Ville Skyttä ]
|
||||
* Add reptyr completion.
|
||||
* Improve aspell, gendiff, and smartctl completions.
|
||||
* Improve aspell, gendiff, smartctl, and tar completions.
|
||||
* Try harder to find the correct perl executable to run the perl helper with.
|
||||
* Drop rpm query support for rpm < 4.1.
|
||||
* Split rpm and rpmbuild completions and improve them both.
|
||||
|
@ -20,7 +20,7 @@ _tar()
|
||||
;;
|
||||
+([^IZzJjy])f)
|
||||
ext='@(@(tar|gem|spkg)?(.@(Z|[gx]z|bz?(2)|lzma))|t@([glx]z|bz?(2)))'
|
||||
regex='\(\(tar\|gem\|spkg\)\(\.\(Z\|[gx]z\|bz?(2)\|lzma\)\)\?\|t\([glx]z\|bz2\?\)\)'
|
||||
regex='\(\(tar\|gem\|spkg\)\(\.\(Z\|[gx]z\|bz2\?\|lzma\)\)\?\|t\([glx]z\|bz2\?\)\)'
|
||||
;;
|
||||
*[Zz]*f)
|
||||
ext='@(t?(ar.)|gem.|spkg.)@(gz|Z)'
|
||||
|
Loading…
x
Reference in New Issue
Block a user