summaryrefslogtreecommitdiff
path: root/Completion/Unix/Command/_script
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2025-01-27 23:00:17 +0100
committerOliver Kiddle <opk@zsh.org>2025-01-27 23:00:17 +0100
commit87aba4d437f5fef46917c1235c00b9162d7bcbd0 (patch)
treece578175d1248d14b8237ad86121b9396550c226 /Completion/Unix/Command/_script
parentdb01c79cf83290b9ac9d77e66d832551b7022f71 (diff)
downloadzsh-87aba4d437f5fef46917c1235c00b9162d7bcbd0.tar.gz
zsh-87aba4d437f5fef46917c1235c00b9162d7bcbd0.zip
53325: cover newer BSD releases in completion
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*)