summaryrefslogtreecommitdiff
path: root/Completion/Unix/Command/_mktemp
diff options
context:
space:
mode:
authorAxel Beckert <abe@deuxchevaux.org>2018-12-24 04:40:22 +0100
committerAxel Beckert <abe@deuxchevaux.org>2018-12-24 04:40:22 +0100
commitbf8b7f713a5b04a191f4596fb86bbbfca0a855ce (patch)
treeb647a8dc990c8c845b8a8eca7bf92fbbf17e1fb5 /Completion/Unix/Command/_mktemp
parent06946d431a4426c6e5dffec1d7edb17c1dbd467c (diff)
parent9dbde9e9c7d22ee0d301e4a2fecf97906d1ddce9 (diff)
downloadzsh-bf8b7f713a5b04a191f4596fb86bbbfca0a855ce.tar.gz
zsh-bf8b7f713a5b04a191f4596fb86bbbfca0a855ce.zip
New upstream release candidate 5.6.2-test-2
Merge branch 'upstream' at 'zsh-5.6.2-test-2' into branch debian
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"'