Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
_unace
- X-seq: zsh-workers 20918
- From: Henryk Konsek <hak8@xxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: _unace
- Date: Wed, 2 Mar 2005 20:19:52 +0100
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- Organization: AskesisLabs
Hi,
I've written completion file for the unace command. Its syntax is very
similar to the unrar command so I've used part of _rar as a pattern while
creating it. This is my first completion file so I would be grateful for any
comments.
I hope that I send it to the suittable mailing list :P
Greetings, HK
#compdef unace
if (( CURRENT == 2)); then
_values 'unace command' \
'e[Extract files]' \
'l[List archive]' \
't[Test archive integrity]' \
'v[List archive (verbose)]' \
'x[Extract files with full path]' \
&& return
else
_arguments -S \
'-c\ [Show comments]' \
'-f\ [Full path matching]' \
'-o\ [Overwrite files]' \
'-p\<password>[Set <password>]' \
'-y\ [Assume yes on all queries]' \
'*:files:_files -g \*.rar\(-.\)\' \
&& return
fi
Messages sorted by:
Reverse Date,
Date,
Thread,
Author