Add *.taz support for gzip/gunzip.
This commit is contained in:
parent
b8267d131e
commit
ac7ed92f52
@ -73,7 +73,7 @@ complete -f -X '!*.?(t)bz?(2)' bunzip2 bzcat pbunzip2 pbzcat
|
|||||||
complete -f -X '!*.@(zip|ZIP|jar|JAR|exe|EXE|pk3|war|wsz|ear|zargo|xpi|sxw|ott|od[fgpst]|epub)' unzip zipinfo
|
complete -f -X '!*.@(zip|ZIP|jar|JAR|exe|EXE|pk3|war|wsz|ear|zargo|xpi|sxw|ott|od[fgpst]|epub)' unzip zipinfo
|
||||||
complete -f -X '*.Z' compress znew
|
complete -f -X '*.Z' compress znew
|
||||||
# zcmp, zdiff, z*grep, zless, zmore intentionally not here, see Debian: #455510
|
# zcmp, zdiff, z*grep, zless, zmore intentionally not here, see Debian: #455510
|
||||||
complete -f -X '!*.@(Z|gz|tgz|Gz|dz)' gunzip zcat unpigz
|
complete -f -X '!*.@(Z|gz|t[ag]z|Gz|dz)' gunzip zcat unpigz
|
||||||
complete -f -X '!*.Z' uncompress
|
complete -f -X '!*.Z' uncompress
|
||||||
# lzcmp, lzdiff intentionally not here, see Debian: #455510
|
# lzcmp, lzdiff intentionally not here, see Debian: #455510
|
||||||
complete -f -X '!*.lzma' lzcat lzegrep lzfgrep lzgrep lzless lzmore unlzma
|
complete -f -X '!*.lzma' lzcat lzegrep lzfgrep lzgrep lzless lzmore unlzma
|
||||||
|
@ -24,7 +24,7 @@ _gzip()
|
|||||||
|
|
||||||
local IFS=$'\t\n'
|
local IFS=$'\t\n'
|
||||||
|
|
||||||
xspec="*.?(t)gz"
|
xspec="*.@(gz|t[ag]z)"
|
||||||
if [[ "$prev" == --* ]]; then
|
if [[ "$prev" == --* ]]; then
|
||||||
[[ "$prev" == --decompress || \
|
[[ "$prev" == --decompress || \
|
||||||
"$prev" == --list || \
|
"$prev" == --list || \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user