about summary refs log tree commit diff
path: root/Completion/Unix/Command/_uniq
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2021-02-07 02:13:10 +0100
committerOliver Kiddle <opk@zsh.org>2021-02-07 02:13:10 +0100
commit509e84ef4455c8ec00ad28322bee741717ab47bf (patch)
tree3ba1e4f2ba4b0e7c482a30eb0e9048cbe9191984 /Completion/Unix/Command/_uniq
parentceb25d9495b28e87543e8d4d3b071fbea20eceef (diff)
downloadzsh-509e84ef4455c8ec00ad28322bee741717ab47bf.tar.gz
zsh-509e84ef4455c8ec00ad28322bee741717ab47bf.tar.xz
zsh-509e84ef4455c8ec00ad28322bee741717ab47bf.zip
47930: update completions for FreeBSD base up to 12.2
Diffstat (limited to 'Completion/Unix/Command/_uniq')
-rw-r--r--Completion/Unix/Command/_uniq3
1 files changed, 2 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_uniq b/Completion/Unix/Command/_uniq
index 97f73b3ac..e123a94cd 100644
--- a/Completion/Unix/Command/_uniq
+++ b/Completion/Unix/Command/_uniq
@@ -23,8 +23,9 @@ args=(
 if ! _pick_variant gnu=Free\ Soft unix --version; then
   local optchars="cdufs"
   if [[ "$OSTYPE" == (darwin|dragonfly|freebsd|openbsd)* ]]; then
-    optchars="${optchars}i"
+    optchars+=i
   fi
+  [[ $OSTYPE = freebsd* ]] && optchars+=D
   args=( ${(M)args:#(|\*)(|\(*\))-[$optchars]*} )
 fi