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

Re: [PATCH] sh/ksh init: don't initialise lowercase parameters

Bart Schaefer wrote on Wed, 29 Jan 2020 16:00 -0600:
> On Wed, Jan 29, 2020, 3:36 PM Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx> wrote:
> >
> > I see.  Yes, we can bless $HISTCHARS as the preferred spelling for
> > native mode and keep $histchars for csh compatibility…but doesn't this
> > imply that we should add a $SIGNALS variable (and possibly deprecate
> > $signals)?
> >  
> No, I was not suggesting any change to native mode.  I'm merely saying that
> if we can't have the lower-case version in sh/ksh modes, we need the upper
> case one there.  $signals is strictly informational, so it doesn't need to
> be present in those modes at all, but HISTCHARS is writable and controls
> features of history.

Why does HISTCHARS need to be available in sh/ksh modes?

About $signals, it's too late to change zsh mode special parameters to
uppercase (e.g., $path).  Perhaps we should use uppercase for any new
parameters we introduce going forward, but that's another conversation.



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