about summary refs log tree commit diff
path: root/Completion/Unix/Command/_find
diff options
context:
space:
mode:
authordana <dana@dana.is>2018-01-03 16:13:23 -0600
committerOliver Kiddle <opk@zsh.org>2018-01-04 00:16:43 +0100
commit1c4e7601c4b83322e8702954c2c3b8e4672026a3 (patch)
treedcc08a08daf81c0638330e65dd8469ed691b0ca7 /Completion/Unix/Command/_find
parent5f68531b5d8b1e6262f34e91bf047909f12dfeb2 (diff)
downloadzsh-1c4e7601c4b83322e8702954c2c3b8e4672026a3.tar.gz
zsh-1c4e7601c4b83322e8702954c2c3b8e4672026a3.tar.xz
zsh-1c4e7601c4b83322e8702954c2c3b8e4672026a3.zip
42210: factor out completion of file modes and flags and handle _comp_priv_prefix for chflags
Diffstat (limited to 'Completion/Unix/Command/_find')
-rw-r--r--Completion/Unix/Command/_find2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_find b/Completion/Unix/Command/_find
index 3854d6cce..2bfb89825 100644
--- a/Completion/Unix/Command/_find
+++ b/Completion/Unix/Command/_find
@@ -139,7 +139,7 @@ _arguments -C $args \
   '*-nogroup' \
   '*-nouser' \
   '*-ok:program: _command_names -e:*\;::program arguments: _normal' \
-  '*-perm:file permission bits' \
+  '*-perm: :_modes' \
   '*-print' \
   '*-prune' \
   '*-size:file size (blocks)' \