diff options
author | Oliver Kiddle <opk@zsh.org> | 2023-11-22 00:07:37 +0100 |
---|---|---|
committer | Oliver Kiddle <opk@zsh.org> | 2023-11-22 00:07:37 +0100 |
commit | 6aa15f57fd5bee298c8320dab19d167dac3d46ed (patch) | |
tree | f0559c7140c34ac7aae7772a9b8d9f7debe7f8d9 /Completion/Unix/Command/_cat | |
parent | fcf080ab578de00c799eb287ef8bdc201c313fee (diff) | |
download | zsh-6aa15f57fd5bee298c8320dab19d167dac3d46ed.tar.gz zsh-6aa15f57fd5bee298c8320dab19d167dac3d46ed.tar.xz zsh-6aa15f57fd5bee298c8320dab19d167dac3d46ed.zip |
52315: completion options update
Diffstat (limited to 'Completion/Unix/Command/_cat')
-rw-r--r-- | Completion/Unix/Command/_cat | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Completion/Unix/Command/_cat b/Completion/Unix/Command/_cat index 74d7278b8..526c49e31 100644 --- a/Completion/Unix/Command/_cat +++ b/Completion/Unix/Command/_cat @@ -38,6 +38,9 @@ elif [[ "$OSTYPE" == (*bsd|dragonfly|darwin)* ]]; then '-B+[read with buffer of specified size]:size (bytes)' '-f[only attempt to display regular files]' ) + [[ $OSTYPE = darwin* ]] && args+=( + '-l[set an exclusive advisory lock on standard output]' + ) elif [[ $OSTYPE = solaris* ]]; then args=( -A "-*" |