mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-07-31 06:04:45 +02:00
feat(extract): add support for extracting to a specified directory (#13734)
This commit is contained in:
parent
d170d18746
commit
c86ba78e2f
2 changed files with 40 additions and 8 deletions
|
|
@ -53,5 +53,6 @@ local -a exts=(
|
|||
|
||||
_arguments \
|
||||
'(-r --remove)'{-r,--remove}'[Remove archive.]' \
|
||||
'(-t --to-directory)'{-t,--to-directory}'[Extract to a specific directory.]' \
|
||||
"*::archive file:_files -g '(#i)*.(${(j:|:)exts})(-.)'" \
|
||||
&& return 0
|
||||
|
|
|
|||
Loading…
Reference in a new issue