Chet Ramey wrote:
> HISTFILESIZE doesn't exist until bash tries to load the history
> list from the history file (taken from $HISTFILE). At that point,
> if it doesn't have a value, it's set to $HISTSIZE. That doesn't
> happen until after the startup files are read, as you guessed.
>
> If you w
> Actually, what I want is to prevent writing to the history file
> at all when bash exits. (Not all the time, just in certain cases
> that other logic in .bashrc will be able to detect. Unsetting
> HISTFILESIZE unconditionally was a simplified test case.)
>
> Should I unset HISTFILE, or set it
per...@pluto.rain.com wrote:
> Configuration Information [Automatically generated, do not change]:
> Machine: i386
> OS: freebsd6.1
> Compiler: cc
> Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i386'
> -DCONF_OSTYPE='freebsd6.1' -DCONF_MACHTYPE='i386-portbld-freebsd6.1'
> -DCONF_VENDOR=
Configuration Information [Automatically generated, do not change]:
Machine: i386
OS: freebsd6.1
Compiler: cc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i386'
-DCONF_OSTYPE='freebsd6.1' -DCONF_MACHTYPE='i386-portbld-freebsd6.1'
-DCONF_VENDOR='portbld' -DLOCALEDIR='/usr/local/share/loc