mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
Added archive listing to extract plugin.
This commit is contained in:
parent
2e4a053c8c
commit
49c5517d1b
2 changed files with 55 additions and 4 deletions
6
plugins/extract/_ls-archive
Normal file
6
plugins/extract/_ls-archive
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
#compdef ls-archive
|
||||
#autoload
|
||||
|
||||
_arguments \
|
||||
'(-v --verbose)'{-v,--remove}'[Verbose archive listing.]' \
|
||||
"*::archive file:_files -g '(#i)*.(tar|tgz|tbz|tbz2|txz|tlz|gz|bz2|xz|lzma|Z|zip|rar|7z)(-.)'" && return 0
|
||||
Loading…
Add table
Add a link
Reference in a new issue