about summary refs log tree commit diff
path: root/Completion/Unix/Command/_cat
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2016-07-17 12:37:29 +0200
committerOliver Kiddle <opk@zsh.org>2016-07-17 12:37:29 +0200
commit9991707b6bbdfe8940b2098128d85f61a966d758 (patch)
tree7e841073d3546ef999affafdda26fa210ea9a91f /Completion/Unix/Command/_cat
parent52f46cca751cc40db978b88dd6379866cad30b15 (diff)
downloadzsh-9991707b6bbdfe8940b2098128d85f61a966d758.tar.gz
zsh-9991707b6bbdfe8940b2098128d85f61a966d758.tar.xz
zsh-9991707b6bbdfe8940b2098128d85f61a966d758.zip
38868: update completions for new options on FreeBSD
Diffstat (limited to 'Completion/Unix/Command/_cat')
-rw-r--r--Completion/Unix/Command/_cat3
1 files changed, 3 insertions, 0 deletions
diff --git a/Completion/Unix/Command/_cat b/Completion/Unix/Command/_cat
index e223d90d9..57b197038 100644
--- a/Completion/Unix/Command/_cat
+++ b/Completion/Unix/Command/_cat
@@ -30,6 +30,9 @@ elif [[ "$OSTYPE" == (freebsd|dragonfly|darwin)* ]]; then
     '-v[display non-printing chars as ^X or M-a]'
     '(-)*:files:_files'
   )
+  [[ $OSTYPE = freebsd* ]] && args+=(
+    '-l[set a lock on the stdout file descriptor]'
+  )
 
 else
   # POSIX reqires '-u', and most OSes may support '-n'