1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-10-02 17:01:19 +02:00
zsh/Completion/Unix/Command/_pack

17 lines
355 B
Plaintext
Raw Normal View History

2001-04-02 13:59:06 +02:00
#compdef pack unpack pcat=unpack
local expl state line
case $service in
pack)
_arguments -C \
'-f[force packing even for files which will not benefit]' \
'-[show statistics for files]' \
'*:file to compress:_files -g \*\~\*.z'
;;
unpack)
_description files expl 'compressed file'
_files "$expl[@]" -g '*.z'
;;
esac