1 2 3 4 5 6 7
#compdef zcat if _pick_variant gz='(GNU|NetBSD|Apple)' unix --license; then _gzip "$@" else _compress "$@" fi