zsh-workers
 help / color / mirror / code / Atom feed
* _unace
@ 2005-03-02 19:19 Henryk Konsek
  2005-03-03 13:36 ` _unace Oliver Kiddle
  0 siblings, 1 reply; 3+ messages in thread
From: Henryk Konsek @ 2005-03-02 19:19 UTC (permalink / raw)
  To: zsh-workers

[-- 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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-03-03 14:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-02 19:19 _unace Henryk Konsek
2005-03-03 13:36 ` _unace Oliver Kiddle
2005-03-03 14:16   ` _unace Henryk Konsek

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).