mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2026-07-08 22:16:42 +02:00
feat(extract): add support for extracting to a specified directory (#13734)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user