summary refs log tree commit diff
diff options
context:
space:
mode:
authorJun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>2018-11-15 21:02:22 +0900
committerJun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>2018-11-15 21:02:22 +0900
commit35afea07724dce143a3b6113002727cbc034b5ef (patch)
tree5a8164dc61e718d7882569add61fa2fbbecb8fcf
parente258e7d251b7403a6d77b23e6927b659bf9c2c37 (diff)
downloadzsh-35afea07724dce143a3b6113002727cbc034b5ef.tar.gz
zsh-35afea07724dce143a3b6113002727cbc034b5ef.tar.xz
zsh-35afea07724dce143a3b6113002727cbc034b5ef.zip
unposted: _zcat: support macOS
-rw-r--r--ChangeLog2
-rw-r--r--Completion/Unix/Command/_zcat2
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 9a6a1540e..2c1c4abbe 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2018-11-15  Jun-ichi Takimoto  <takimoto-j@kba.biglobe.ne.jp>
 
+	* unposted: Completion/Unix/Command/_zcat: support macOS
+
 	* Ivan Tkachenko: 43823: Src/Modules/stat.c: remove unnecessary
 	metafy() in stattimeprint()
 
diff --git a/Completion/Unix/Command/_zcat b/Completion/Unix/Command/_zcat
index cf927507b..baa7bd791 100644
--- a/Completion/Unix/Command/_zcat
+++ b/Completion/Unix/Command/_zcat
@@ -1,6 +1,6 @@
 #compdef zcat
 
-if _pick_variant gz='(GNU|NetBSD)' unix --license; then
+if _pick_variant gz='(GNU|NetBSD|Apple)' unix --license; then
   _gzip "$@"
 else
   _compress "$@"