I'm using LXTerminal 0.1.11 and I'm noticing that after executing a command and closing LXTerminal the file ~/.bash_history will be created even if HISTFILESIZE is set to 0. I think it would be better to not create this file if HISTFILESIZE is set to 0 to keep the user directory more clean.
Edit: By accident I have posted this in the Bugs category but it should be a Feature Request.
lxterminal does not have control over bash, it is not aware of .bash_history or whether it should be created or not.
I suspect that the HISTFILESIZE variable isn't set to what you expect in the environment that spawns lxterminal which in turn spawns bash. Try 'echo $HISTFILESIZE' in lxterminal to check.
sworddragon@ubuntu:~$ echo $HISTFILESIZE
0
Perhaps "0" means unlimited size. Try to use empty string instead. Or better try to unset HISTFILE instead (read the bash man page for details). And anyway, it should not be any terminal issue, it's issue of bash.
Last edit: Lonely Stranger 2014-10-13
Since ~/.bash_history doesn't save any entries anymore with "0" it seems to mean disabled.
I have forwarded now this issue to Launchpad.