Bug 331463 - .bash_history not updated for last Konsole when sytem is rebooted
Summary: .bash_history not updated for last Konsole when sytem is rebooted
Status: RESOLVED NOT A BUG
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 2.12.1
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-24 16:49 UTC by Toralf Förster
Modified: 2017-02-13 01:24 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.