summaryrefslogtreecommitdiff
path: root/Completion/Unix/Command/_find
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2023-11-17 18:25:21 +0100
committerOliver Kiddle <opk@zsh.org>2023-11-17 18:25:21 +0100
commit8f0a8131fad30c627d72f24a6a88ac0053cd3790 (patch)
treeb9442700fafcf8ffad122998ff6137c0bb5a8f75 /Completion/Unix/Command/_find
parent6306dcfaa52237fbaa76eafe7bc396e68eda66ca (diff)
downloadzsh-8f0a8131fad30c627d72f24a6a88ac0053cd3790.tar.gz
zsh-8f0a8131fad30c627d72f24a6a88ac0053cd3790.zip
52307: new completion for many SELinux tools
Diffstat (limited to 'Completion/Unix/Command/_find')
-rw-r--r--Completion/Unix/Command/_find4
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Unix/Command/_find b/Completion/Unix/Command/_find
index 560b77f7e..4f1c338ee 100644
--- a/Completion/Unix/Command/_find
+++ b/Completion/Unix/Command/_find
@@ -115,14 +115,14 @@ case $variant in
'*-readable'
'*-writable'
'*-xtype:file type:((b\:block\ special\ file c\:character\ special\ file d\:directory p\:named\ pipe f\:normal\ file l\:symbolic\ link s\:socket))'
- '-files0-from[start recursing from targets in given file]:NUL-separated targets file:_files'
+ '(*)-files0-from[start recursing from targets in given file]:NUL-separated targets file:_files'
'*-fls:output file:_files'
'*-fprint:output file:_files'
'*-fprint0:output file:_files'
'*-fprintf:output file:_files:output format'
'*-printf:output format'
)
- [[ $OSTYPE = linux-gnu ]] && args+=( '*-context:SELinux context (glob pattern):_selinux_contexts' )
+ [[ $OSTYPE = linux-gnu ]] && args+=( '*-context:SELinux context (glob pattern):_selinux_contexts -a file_type' )
;;
esac