summaryrefslogtreecommitdiff
path: root/Completion/Darwin/Command/_trash
diff options
context:
space:
mode:
authorJoe Rayhawk <jrayhawk@fairlystable.org>2025-04-30 02:07:56 -0700
committerJoe Rayhawk <jrayhawk@fairlystable.org>2025-04-30 02:07:56 -0700
commit26e09889646be3ea65b4a3dfeda26213e4bb6a27 (patch)
tree4f3c73a9416bf47ad7e125383d23cf42879e38d7 /Completion/Darwin/Command/_trash
parent841bce705a58b04220b1f257abcc00ae71cbdbdc (diff)
parent001cba48ce3b964cf01fb3e2af54b20eacbc9bf5 (diff)
downloadzsh-26e09889646be3ea65b4a3dfeda26213e4bb6a27.tar.gz
zsh-26e09889646be3ea65b4a3dfeda26213e4bb6a27.zip
Merge branch 'upstream' into debian
Diffstat (limited to 'Completion/Darwin/Command/_trash')
-rw-r--r--Completion/Darwin/Command/_trash22
1 files changed, 0 insertions, 22 deletions
diff --git a/Completion/Darwin/Command/_trash b/Completion/Darwin/Command/_trash
deleted file mode 100644
index 658716432..000000000
--- a/Completion/Darwin/Command/_trash
+++ /dev/null
@@ -1,22 +0,0 @@
-#compdef trash
-
-# We only provide completion for Ali Rantakari's trash utility. There are/were a
-# few others floating around with that name, but this is the one available as
-# `trash` in Homebrew and MacPorts
-_pick_variant ali='(Rantakari|hasseg)' other --version && {
- # The hidden options here are options to rm that trash silently (and
- # undocumentedly) ignores. Some options are not made mutually exclusive where
- # they technically could be, for compatibility with aliases, etc.
- _arguments -s -S -A '-*' : \
- '!-'{d,f,i,r,P,R,W} \
- '(: * -F -l -v)-e[empty trash]' \
- '-F[use Finder instead of system API]' \
- '(: * -e -F -s -y)-l[list items in trash]' \
- '(: * -F -l -v)-s[securely empty trash]' \
- '-v[increase output verbosity]' \
- '-y[skip confirmation prompts (with -e or -s)]' \
- '*: :_files'
- return
-}
-
-_default