summary refs log tree commit diff
path: root/Completion/Unix/Command/_script
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Unix/Command/_script')
-rw-r--r--Completion/Unix/Command/_script5
1 files changed, 4 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_script b/Completion/Unix/Command/_script
index dfe57a796..e6c104d2c 100644
--- a/Completion/Unix/Command/_script
+++ b/Completion/Unix/Command/_script
@@ -35,7 +35,7 @@ case $OSTYPE in
       '-q[be quiet: suppress display of starting and ending lines]'
     )
   ;|
-  netbsd*|freebsd*)
+  darwin*|netbsd*|freebsd*)
     args+=(
       '(-a -r -k)-d[suppress sleeps when playing back a session]'
       '(-a -r -k -t)-p[play back a recorded session]'
@@ -62,6 +62,9 @@ case $OSTYPE in
       '*:::arguments: _normal'
     )
   ;|
+  darwin*|freebsd*)
+    args+=( '-F[send output to specified named pipe]:fifo:_files -g "*(p)"' )
+  ;|
   *)
     args+=(
       '(-p -d)-a[append output]'