about summary refs log tree commit diff
path: root/Completion/Unix/Command/_script
diff options
context:
space:
mode:
authorJun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>2018-11-07 20:57:59 +0900
committerJun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>2018-11-07 21:01:54 +0900
commite5465c04344cecca564c6c2def325d3806ce9278 (patch)
tree7f2ae4d132fec01899fe07adbb5935d0b5e5b4d0 /Completion/Unix/Command/_script
parentc8ce1fe4c1e37e3db402570e7ced2aa413323792 (diff)
downloadzsh-e5465c04344cecca564c6c2def325d3806ce9278.tar.gz
zsh-e5465c04344cecca564c6c2def325d3806ce9278.tar.xz
zsh-e5465c04344cecca564c6c2def325d3806ce9278.zip
43761: update five completion functions for darwin
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]'