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

Re: sound policy on global variables for "distributed" DWIM function



Joshua Krusell <js.shirin@xxxxxxxxx> writes:

> Define a variable in your script, export an
> environmental var if it's being sourced (beware name
> collisions, use a prefix), or even pass it as an
> argument; it's up to you.

Indeed :)

Yes, it is sourced in ~/.zshrc.

But it doesn't have to be global outside the file
where those couple of functions are defined.

-- 
underground experts united
http://user.it.uu.se/~embe8573



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