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

Re: HISTCHARS



> On May 23,  9:36pm, Zoltan Hidvegi wrote:
> } It is desirable to minimize the number of special parameters sice it is
> } quite difficult to handle special parameters in some cases.  It can be
> } arranged that HISTCHARS will only work if zsh is not called as sh/ksh but
> } is it really necessary?
> 
> If it *has* to be limited that way, it's probably not worth the effort.

It would not require any extra effort.  There are already several special
parameters which only work if zsh is not invoked as sh/ksh.  These are
ARGC, status, prompt, PROMPT, prompt2, prompt3, prompt4 and argv.  All of
these are just aliases for other parameters.  Adding HISTCHARS would require
one extra line in hashtable.h.

Zoltan




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