mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-08-18 10:39:58 +02:00
Added extract plugin.
This commit is contained in:
8
plugins/extract/_extract
Normal file
8
plugins/extract/_extract
Normal file
@@ -0,0 +1,8 @@
|
||||
#compdef extract
|
||||
#autoload
|
||||
|
||||
_arguments \
|
||||
'(-r --remove)'{-r,--remove}'[Remove archive.]' \
|
||||
"*::archive file:_files -g '(#i)*.(tar|tgz|tbz|tbz2|txz|tlz|gz|bz2|xz|lzma|Z|zip|rar|7z|deb)(-.)'" && return 0
|
||||
|
||||
|
Reference in New Issue
Block a user