From 9a8fda443c21db8b249e6ad64f0adb5b48e73114 Mon Sep 17 00:00:00 2001 From: Lucas Date: Mon, 10 Jul 2023 10:23:24 +0200 Subject: [PATCH] Update src/_trash: if -h, --help specified, no other options should be completed Co-authored-by: Shohei YOSHIDA --- src/_trash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/_trash b/src/_trash index e21940c..54ff6f4 100644 --- a/src/_trash +++ b/src/_trash @@ -28,7 +28,7 @@ args=( '--delete[Delete a file from the trash]' '--empty[Empty the trash bin]' '--rm[Escape hatch to permanently delete a file]' - '(-h --help)'{-h,--help}'[This help information]' + '(- *)'{-h,--help}'[This help information]' '*:: :->file' )