On Fri, Apr 2, 2010 at 6:07 PM, Philip Ganchev <[email protected]>wrote:
> On Thu, Apr 1, 2010 at 10:08 AM, David Frascone <[email protected]> wrote:
> >
> > I'd like to add a function to my config.fish to do some things over and
> over
> [...]
> > But, I don't want this function to exist after config.fish is done.
> Should
> > I just erase it before the end of my config.fish:
> >
> > functions -e add_to_path
> >
> > Or is there an easier way to make a function that is non-global in scope?
>
> I think you should just erase it. There is no way to define a
> non-global function, as far as I know.
>
Is there a better way than a function to do what I want? (Uniquely add
directories to my path)?
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Fish-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fish-users