mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-06-19 05:12:49 +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…
Add table
Add a link
Reference in a new issue