diff options
author | mirsella <mirsella@protonmail.com> | 2023-07-10 12:50:48 +0200 |
---|---|---|
committer | dana <dana@dana.is> | 2023-07-19 23:13:58 -0500 |
commit | 5ec4695033b9a3a57492b60439d9e3a922d9bcd1 (patch) | |
tree | dceec0908ea0f942afcde4e82cc4a8cb80a4f1e2 /Completion/Darwin/Command | |
parent | c4ec7442f1138f2c525f98febb0db6def0fbe142 (diff) | |
download | zsh-5ec4695033b9a3a57492b60439d9e3a922d9bcd1.tar.gz zsh-5ec4695033b9a3a57492b60439d9e3a922d9bcd1.zip |
github #99: _trash: add completion for trash-d
https://github.com/rushsteve1/trash-d
Diffstat (limited to 'Completion/Darwin/Command')
-rw-r--r-- | Completion/Darwin/Command/_trash | 22 |
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 |