ForgivenByJC
January 7th, 2010, 07:22 PM
If I put in /etc/profile or ~/.bashrc
export HISTSIZE=10000
export HISTFILESIZE=10000and reboot, then from gnome-terminal
$: echo $HISTSIZE
10000
$: echo $HISTFILESIZE
10000
$: unset HISTSIZE
$: unset HISTFILESIZE
$: echo $HISTSIZE
$: echo $HISTFILESIZE
$:But if I change /etc/profile or ~/.bashrc to
unset HISTSIZE
unset HISTFILESIZEthey revert to 500. How can I stop them from going to the default when unset in /etc/profile or ~/.bashrc?
export HISTSIZE=10000
export HISTFILESIZE=10000and reboot, then from gnome-terminal
$: echo $HISTSIZE
10000
$: echo $HISTFILESIZE
10000
$: unset HISTSIZE
$: unset HISTFILESIZE
$: echo $HISTSIZE
$: echo $HISTFILESIZE
$:But if I change /etc/profile or ~/.bashrc to
unset HISTSIZE
unset HISTFILESIZEthey revert to 500. How can I stop them from going to the default when unset in /etc/profile or ~/.bashrc?