Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

RE: more interactive menu completion



 --- Borzenkov Andrey <Andrey.Borzenkov@xxxxxxxxxxx>
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



Messages sorted by: Reverse Date, Date, Thread, Author