1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-10-03 17:31:33 +02:00
zsh/Completion/User/_pack

17 lines
355 B
Plaintext
Raw Normal View History

#compdef pack unpack pcat=unpack
1999-10-14 20:09:52 +02:00
local expl state line
1999-10-14 20:09:52 +02:00
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