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

Re: Why would I use .namespace.myvar?





On 2024-03-10 15:48, Bart Schaefer wrote:
On Sun, Mar 10, 2024 at 3:16 PM Ray Andrews <rayandrews@xxxxxxxxxxx> wrote:
In a sentence or two, what is a namespace and why do we want it?
Quoting the updated FAQ file:

2.9: What is a `namespace' anyway?
Sorta like a first name and a last name for a variable?  Even I have often run into name crowding.  Just recently there was that grief about an unrealized existing integer making mischief.  So 'family names' could sure be a good thing.

   As of this writing, namespaces in zsh are little more than syntactic
   sugar for grouping related parameters.




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