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

Re: path PATH



On Sat, Jan 28, 2023 at 7:45 PM Ray Andrews <rayandrews@xxxxxxxxxxx> wrote:
>
> I don't get it Bart, you and Roman
> provided a very nice function and at the  same time you're speaking as
> if there was nothing for it to do.

It's the other way around.  The function gave you what you want, so
there's nothing for a built-in to the shell to do.

If NO function could give you what you wanted, that's a different
question.  E.g., it's a valid point that a parameter declared with
"typeset -E" could be more accurately described by $parameters /
${(t)var}, or that justification width could be more obviously
obtainable than just "typeset +m", or even that the documentation
could do a better job of relating ${(t)var} to the options of
"typeset" (I've submitted a patch for that last, incidentally).




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