[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: es and environment



does the noexport builtin address what you're looking for?  syntax is
	noexport variable ...
which marks variable as private to the current shell.  the variable must
be defined by the shell, and any redefinition clears the noexport flag.

like rc, es makes the assumption that you do want to export a variable.
if you don't, it's for a specific reason, and that's what noexport is for.

as an aside, i believe that Byron plans to add a similar feature to rc-1.5,
but he's been busy lately and i shouldn't speak for him.