follow normal zsh case conventions in some functions

This commit is contained in:
Oliver Kiddle
2017-10-28 00:23:07 +02:00
parent 29ce259ea5
commit 538f2a0287
12 changed files with 353 additions and 382 deletions
+9 -15
View File
@@ -39,21 +39,15 @@
# ------------------------------------------------------------------------------
_trash-put() {
_arguments -C \
'--version[Show programs version number and exit]' \
{-h,--help}'[Show help message and exit]' \
{-d,--directory}'[Remove empty directories - ignored (for GNU rm compabilty)]' \
{-f,--force}'[Ignore nonexistent arguments and never prompt - ignored (for GNU rm compabilty)]' \
{-i,--interactive}'[Prompt before every removal - ignored (for GNU rm compabilty)]' \
{-r,-R,--recursive}'[Remove directories and their content recursively - ignored (for GNU rm compabilty)]' \
{-v,--verbose}'[Explain what is being done]' \
'*: :_files' \
}
_trash-put
_arguments -C \
'--version[display version information]' \
{-h,--help}'[display usage information]' \
{-d,--directory}'[remove empty directories - ignored (for GNU rm compabilty)]' \
{-f,--force}'[ignore nonexistent arguments and never prompt - ignored (for GNU rm compabilty)]' \
{-i,--interactive}'[prompt before every removal - ignored (for GNU rm compabilty)]' \
{-r,-R,--recursive}'[remove directories and their content recursively - ignored (for GNU rm compabilty)]' \
{-v,--verbose}'[explain what is being done]' \
'*: :_files'
# Local Variables:
# mode: Shell-Script