From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6908 invoked from network); 20 Jan 2003 14:24:15 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 20 Jan 2003 14:24:15 -0000 Received: (qmail 28592 invoked by alias); 20 Jan 2003 14:23:35 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 5769 Received: (qmail 28574 invoked from network); 20 Jan 2003 14:23:34 -0000 X-MessageWall-Score: 0 (sunsite.dk) Message-ID: <20030120142335.581.qmail@web12308.mail.yahoo.com> Date: Mon, 20 Jan 2003 09:23:35 -0500 (EST) From: Le Wang Subject: RE: more interactive menu completion To: Zsh users list In-Reply-To: <6134254DE87BD411908B00A0C99B044F03A0B5E6@mowd019a.mow.siemens.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii --- Borzenkov Andrey wrote: > > > Here is an extension of the problem. Say I have a > > bunch of functions that operate on $PATH, how > would I > > generalize it so that it works with any $PATH like > > variable? > > > > Hmm ... have you noticed that every your question > needs at least one reply > that requests clarification what you really mean? No > offence intended :) None taken. I will strive to refine my problem descriptions. My problem is as follows: I currently have: addToPath () {...} and I use it as: addToPath ~/bin/scripts I would like to have addToPathVar () {...} and use it as: addToPathVar CLASSPATH ~/java/lib -- Le ______________________________________________________________________ Post your free ad now! http://personals.yahoo.ca