about summary refs log tree commit diff
path: root/Completion/Unix/Command/_cat
diff options
context:
space:
mode:
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'