diff options
Diffstat (limited to 'Completion/Unix/Command/_trash')
| -rw-r--r-- | Completion/Unix/Command/_trash | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_trash b/Completion/Unix/Command/_trash index bef6e5838..6315f218b 100644 --- a/Completion/Unix/Command/_trash +++ b/Completion/Unix/Command/_trash @@ -2,7 +2,7 @@ local variant -_pick_variant -r variant ali='(Rantakari|hasseg)' steven='(Steven|vanZyl)' other --version +_pick_variant -r variant ali='(Rantakari|hasseg)' steven='(Steven|vanZyl)' darwin='stopOnError' other --help case $variant in ali) @@ -53,5 +53,13 @@ case $variant in _arguments -s -S : $args return ;; + darwin) + _arguments -A '-*' : \ + '(-v --verbose)'{-v,--verbose}'[display more verbose status]' \ + '(-s --stopOnError)'{-s,--stopOnError}'[exit with error if any move to trash folder fails]' \ + '(- *)'{-h,--help}'[display help information]' \ + '*: :_files' + return + ;; *) _default ;; esac |
