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

Re: path PATH



On Sun, Jan 22, 2023 at 6:17 AM Ray Andrews <rayandrews@xxxxxxxxxxx> wrote:
>
> Fantastic.  I've never seen parameter descriptions of that sort.

This is exactly what I suggested in zsh-users/28317 last November,
except I wrote it as a one-liner using the $parameters variable.

> But, as Bart was saying, we can't export arrays (why not? it
> seems arbitrary)

The operating system defines the environment as an array ("C"
language) of strings; you can't nest the arrays.  The way an array is
represented in the environment is by convention to separate the
elements with colons.




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