I'm going to leave this open for those that are wondering what's changed
and how to get a ~/.bash_history created and written to

With bash 4.2 you need to use an exit command when closing a terminal,
if you do so it will then write to your history

As relayed by chet ramey - 
> One thing that has changed is that an interactive shell will no longer
> attempt to write the history file if it's killed by a signal, since that
> causes many functions to be executed that are not safe to call from a
> signal handler.  If you're in the habit of trying to exit the shell by
> closing the terminal window, which causes the shell to be killed by SIGHUP
> (I think, maybe SIGTERM), the history will not be saved.
> 
> Chet

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/725327

Title:
  bash 4.2 does not save history (~/.bash_history

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to