zsh-users
 help / color / mirror / code / Atom feed
* need completion help....
@ 1999-04-17 20:51 Timothy J Luoma
  1999-04-17 21:00 ` Sorry, left out an important detail >> " Timothy J Luoma
  0 siblings, 1 reply; 3+ messages in thread
From: Timothy J Luoma @ 1999-04-17 20:51 UTC (permalink / raw)
  To: zsh-users


*sigh*

I don't understand completion at all.

Here's what I need.  I need completions for a command "mva"

mva will move files from the directory $asub

	BUT it needs to ignore any files which begin with
		the letters "README" (all in capitals, may not be
		any more letters than just "README" or can be
		any length after that
	   AND files named 'files.html' and 'index'		

Here's the folder's current contents:

# ls $asub
README@
README-Naming-MacOS-X-Submissions
README_How-to-Write-a-Good-README
README_Understanding-How-Files-are-Named
files.html
index
squid-2.1.PATCH2-P-b.gnutar.gz
squid-2.1.PATCH2-P-s.gnutar.gz
squid-2.1.PATCH2.README
ssh-2.0.12-P-b.gnutar.gz
ssh-2.0.12-P-s.gnutar.gz
ssh-2.0.12.README

In this example, the squid? files and the ssh? files are the only ones I  
would want completions for when I do:

	mva [tabhere]

can someone help me out?  I've looked over tons of examples, but I just get  
more and more confused.

TjL

	


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

end of thread, other threads:[~1999-04-18  0:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-04-17 20:51 need completion help Timothy J Luoma
1999-04-17 21:00 ` Sorry, left out an important detail >> " Timothy J Luoma
1999-04-18  0:49   ` Bart Schaefer

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