feat(extract): add option to extract to a specific directory in _extract

This commit is contained in:
Dylan Roman 2026-05-08 08:42:54 -04:00
commit 0b899f137b

View file

@ -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