From: Henryk Konsek <hak8@wp.pl>
To: zsh-workers@sunsite.dk
Subject: _unace
Date: Wed, 2 Mar 2005 20:19:52 +0100 [thread overview]
Message-ID: <200503022019.52992.hak8@wp.pl> (raw)
[-- Attachment #1: Type: text/plain, Size: 312 bytes --]
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
[-- Attachment #2: _unace --]
[-- Type: text/plain, Size: 460 bytes --]
#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
next reply other threads:[~2005-03-02 19:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-02 19:19 Henryk Konsek [this message]
2005-03-03 13:36 ` _unace Oliver Kiddle
2005-03-03 14:16 ` _unace Henryk Konsek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200503022019.52992.hak8@wp.pl \
--to=hak8@wp.pl \
--cc=zsh-workers@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).