Bug 331463

Summary: .bash_history not updated for last Konsole when sytem is rebooted
Product: [Applications] konsole Reporter: Toralf Förster <toralf.foerster>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED NOT A BUG    
Severity: normal CC: cpigat242
Priority: NOR    
Version: 2.12.1   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Toralf Förster 2014-02-24 16:49:50 UTC
Sounds at a first view like a bash problem - but the .bash_history is written, when I do close the KOnsole before I reboot the system.
thwereeeeforeI do assume that rebooting a ssystem lets KDE to force close the KOnsole. And by his all commands of the open console are lost.
This is awefully for commands like :

cd ~/devel/linux/; git bisect good; sudo genkernel --makeopts="-j4" --kerneldir=`pwd` kernel initramfs; sudo su -c "mount /boot; cp arch/i386/boot/bzImage /boot/test; cp System.map /boot/System.map-test; make modules_install; mv /var/tmp/genkernel/initramfs* /boot/initramfs-test && reboot"

because those are therefore never saved :-(


Reproducible: Always
Comment 1 Kurt Hindenburg 2014-02-26 13:58:47 UTC
I use zsh and it seems to work correct - also zsh handles its history across multiple tabs.  

Bash however, doesn't seem to.


Open 2 tabs, type echo hi, go to other tab and see if echo is in history.

for zsh it, push a * by the # if it wasn't that session that created it.