summaryrefslogtreecommitdiff
path: root/Completion/Unix/Command/_script
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Unix/Command/_script')
-rw-r--r--Completion/Unix/Command/_script13
1 files changed, 11 insertions, 2 deletions
diff --git a/Completion/Unix/Command/_script b/Completion/Unix/Command/_script
index d38d56f2e..25f8ea35f 100644
--- a/Completion/Unix/Command/_script
+++ b/Completion/Unix/Command/_script
@@ -50,19 +50,28 @@ case $OSTYPE in
'(-d -p -T)-r[record a session with input, output and timing data]'
)
;|
+ darwin*|netbsd*|freebsd*)
+ args+=(
+ '-e[return exit status of the child process]'
+ )
+ ;|
netbsd*|openbsd*)
args+=(
'-c[run specified command instead of a shell]:command:_cmdstring'
)
;|
+ darwin*|freebsd*)
+ args+=(
+ '(-a -r -k -t)-T[play back a recorded session, reporting only timestamps]: :_date_formats'
+ )
+ ;|
netbsd*)
args+=( '-f[flush output after each write]' )
;|
freebsd*)
args+=(
- '-e[return exit status of the child process]'
'-f[use filemon(4)]'
- '(-a -r -k -t)-T[play back a recorded session, reporting only timestamps]: :_date_formats'
+ '-w[forward terminal size changes on SIGWINCH]'
)
;|
darwin*|dragonfly*|freebsd*)