Update src/_trash: don't complete uncompatible options
Co-authored-by: Shohei YOSHIDA <syohex@gmail.com>
This commit is contained in:
parent
9a8fda443c
commit
0eaf69503f
|
@ -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]'
|
||||||
|
|
Loading…
Reference in New Issue