diff options
author | Oliver Kiddle <opk@zsh.org> | 2025-01-27 23:06:16 +0100 |
---|---|---|
committer | Oliver Kiddle <opk@zsh.org> | 2025-01-27 23:06:16 +0100 |
commit | f3b865b9155269ba0dee7ced93b061e78df507c1 (patch) | |
tree | 7ff3e71038dfd5ab7c9e88a82980fd4d85637563 /Completion/Unix/Command/_chmod | |
parent | 87aba4d437f5fef46917c1235c00b9162d7bcbd0 (diff) | |
download | zsh-f3b865b9155269ba0dee7ced93b061e78df507c1.tar.gz zsh-f3b865b9155269ba0dee7ced93b061e78df507c1.zip |
53326: completion updates for core Linux utils
Diffstat (limited to 'Completion/Unix/Command/_chmod')
-rw-r--r-- | Completion/Unix/Command/_chmod | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Completion/Unix/Command/_chmod b/Completion/Unix/Command/_chmod index 693f348dc..5ec60d707 100644 --- a/Completion/Unix/Command/_chmod +++ b/Completion/Unix/Command/_chmod @@ -19,6 +19,13 @@ case "$variant" in '*: :->files' ) ;; + gnu|freebsd*|openbsd*|netbsd*|darwin*|dragonfly*) + args+=( + '(-H -L -P)-L[follow all symlinks]' + '(-H -L -P)-H[follow symlinks on the command line]' + '(-H -L -P)-P[do not follow symlinks (default)]' + ) + ;| gnu) aopts=() args+=( @@ -49,13 +56,6 @@ case "$variant" in '-h[operate on symlinks themselves]' ) ;| - freebsd*|openbsd*|netbsd*|darwin*|dragonfly*) - args+=( - '(-H -L -P)-L[follow all symlinks]' - '(-H -L -P)-H[follow symlinks on the command line]' - '(-H -L -P)-P[do not follow symlinks (default)]' - ) - ;| darwin*) args+=( '(1)-C[return false if any specified files have ACLs]' |