1 2 3 4 5 6
#compdef gzip local expl _description files expl 'file to compress' _files "$expl[@]" -g '*~*.([tT]|)[gG][zZ]'