mirror of
git://git.code.sf.net/p/zsh/code
synced 2026-01-03 20:51:07 +01:00
moved from Completion/User/_pack
This commit is contained in:
parent
1549d555a5
commit
809f2996b2
1 changed files with 16 additions and 0 deletions
16
Completion/Unix/Command/_pack
Normal file
16
Completion/Unix/Command/_pack
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
#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
|
||||
Loading…
Add table
Add a link
Reference in a new issue