about summary refs log tree commit diff
path: root/Completion/Unix/Command/_mktemp
diff options
context:
space:
mode:
authorJun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>2018-11-07 20:57:59 +0900
committerJun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>2018-11-07 21:01:54 +0900
commite5465c04344cecca564c6c2def325d3806ce9278 (patch)
tree7f2ae4d132fec01899fe07adbb5935d0b5e5b4d0 /Completion/Unix/Command/_mktemp
parentc8ce1fe4c1e37e3db402570e7ced2aa413323792 (diff)
downloadzsh-e5465c04344cecca564c6c2def325d3806ce9278.tar.gz
zsh-e5465c04344cecca564c6c2def325d3806ce9278.tar.xz
zsh-e5465c04344cecca564c6c2def325d3806ce9278.zip
43761: update five completion functions for darwin
Diffstat (limited to 'Completion/Unix/Command/_mktemp')
-rw-r--r--Completion/Unix/Command/_mktemp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Unix/Command/_mktemp b/Completion/Unix/Command/_mktemp
index 4b5bf99f7..03fc89e36 100644
--- a/Completion/Unix/Command/_mktemp
+++ b/Completion/Unix/Command/_mktemp
@@ -30,9 +30,9 @@ fi
     args=( ${args:#((#s)|*\))(\*|)-t*} )
     args+=( '-t[generate template relative to temp dir]' )
   # Dragonfly, FreeBSD, and Darwin take an argument to -t and support any number
-  # of template files
+  # of template files. These OSes do not have -p and -V.
   else
-    args=( ${args:#((#s)|*\))(1:*|(\*|)-t*)} )
+    args=( ${args:#((#s)|*\))(1:*|(\*|)-[ptV]*)} )
     args+=(
       '-t[generate template relative to temp dir using specified prefix]:template prefix'
       '*: :_guard "^-*" "template name"'