1
0
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:
Dylan Roman
2026-05-30 07:42:57 -04:00
committed by GitHub
parent d170d18746
commit c86ba78e2f
2 changed files with 40 additions and 8 deletions
+1
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