Update src/_trash: don't complete uncompatible options

Co-authored-by: Shohei YOSHIDA <syohex@gmail.com>
This commit is contained in:
Lucas 2023-07-10 10:30:49 +02:00 committed by GitHub
parent 9a8fda443c
commit 0eaf69503f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -22,10 +22,10 @@ args=(
'(-i --interactive -I --interactive-once -f --force)'{-I,--interactive-once}'[Ask once if deleting 3 or more]' '(-i --interactive -I --interactive-once -f --force)'{-I,--interactive-once}'[Ask once if deleting 3 or more]'
'(-i --interactive -I --interactive-once -f --force)'{-f,--force}'[Don'\''t prompt and ignore errors]' '(-i --interactive -I --interactive-once -f --force)'{-f,--force}'[Don'\''t prompt and ignore errors]'
'(- *)--version[Output the version and exit]' '(- *)--version[Output the version and exit]'
'--list[List out the files in the trash]' '(--list --orphans)--list[List out the files in the trash]'
'--orphans[List orphaned files in the trash]' '(--list --orphans)--orphans[List orphaned files in the trash]'
'--restore[Restore a file from the trash]' '(--restore --delete)--restore[Restore a file from the trash]'
'--delete[Delete a file from the trash]' '(--restore --delete)--delete[Delete a file from the trash]'
'--empty[Empty the trash bin]' '--empty[Empty the trash bin]'
'--rm[Escape hatch to permanently delete a file]' '--rm[Escape hatch to permanently delete a file]'
'(- *)'{-h,--help}'[This help information]' '(- *)'{-h,--help}'[This help information]'