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

Re: reading/saving history file dependent on isset(RCS)



On Oct 20, 12:55pm, Greg Klanderman wrote:
} 
} Based on there being no default setting for HISTFILE, can the
} isset(RCS) check can be safely removed for the readhistfile() call?

Something you said tripped a synapse.

No, this can't be safely removed.

I now seem to recall that this was added when sourcing /etc/zshenv was
exempted from NO_RCS.  If the system zshenv sets HISTFILE or SAVEHIST,
then you can get bad side-effects even with "zsh -f" unless NO_RCS
suppresses history file management.



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