From 8a2e1006b3b272126332aa064f3ad95387129544 Mon Sep 17 00:00:00 2001 From: Biswakalyan Bhuyan Date: Thu, 13 Feb 2025 14:13:49 +0530 Subject: new dot files --- .config/zsh/oh-my-zsh/plugins/extract/_extract | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .config/zsh/oh-my-zsh/plugins/extract/_extract (limited to '.config/zsh/oh-my-zsh/plugins/extract/_extract') diff --git a/.config/zsh/oh-my-zsh/plugins/extract/_extract b/.config/zsh/oh-my-zsh/plugins/extract/_extract new file mode 100644 index 0000000..27b099c --- /dev/null +++ b/.config/zsh/oh-my-zsh/plugins/extract/_extract @@ -0,0 +1,7 @@ +#compdef extract +#autoload + +_arguments \ + '(-r --remove)'{-r,--remove}'[Remove archive.]' \ + "*::archive file:_files -g '(#i)*.(7z|Z|apk|aar|bz2|cab|cpio|deb|ear|gz|ipa|ipsw|jar|lrz|lz4|lzma|rar|rpm|sublime-package|tar|tar.bz2|tar.gz|tar.lrz|tar.lz|tar.lz4|tar.xz|tar.zma|tar.zst|tbz|tbz2|tgz|tlz|txz|tzst|war|whl|xpi|xz|zip|zst)(-.)'" \ + && return 0 -- cgit v1.2.3-59-g8ed1b