[Konsole-devel] [Bug 267902] dolphin terminal improperly saves bash history
Jekyll Wu
adaptee at gmail.com
Mon Aug 1 14:23:25 UTC 2011
https://bugs.kde.org/show_bug.cgi?id=267902
Jekyll Wu <adaptee at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |adaptee at gmail.com
--- Comment #1 from Jekyll Wu <adaptee gmail com> 2011-08-01 14:23:25 ---
When and how to update ~/.bash_history is determined by bash, not by neither
konsole nor dolphin. By default, bash will not update ~/.bash_history until it
exits .
My recommendation is use 'shopt -s histappend' and put 'history -a; history -n'
into $PROMPT_COMMAND, so that the ~/.bash_history is updated after each
command, and the history is synchronized across all running bash.
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the konsole-devel
mailing list