Re: history in konsole tabs: where?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> As someone already pointed out, bash stores the history in RAM
> until it exits, but you can influence this behavior by placing
> the following in your .bashrc file:
>
> shopt -s histappend
> export PROMPT_COMMAND='history -s'
>
> This will force bash to append the history to the .bash_history
> file and to update it whenever it displays a new prompt. This
> will synchronize the history among all of your tabs in konsole.

Yay, thanks!

And to all others for the insight. I assumed the on-command-update was the 
default behaviour.


-- 
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS d--(+)@ s-:+ a- C++++ UL++ P+>++ L+++>++++ E-- W++ N o? K-
w--(---) !O M+ V- PS+ PE Y++ PGP t++(---)@ 5 X+(++) R+(++) tv--(+)@ 
b++(+++) DI+++ D- G++ e* h>++ r* y?
------END GEEK CODE BLOCK------

http://www.stop1984.com
http://www.againsttcpa.com
___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.

[Index of Archives]     [Trinity (TDE) Desktop Users]     [Fedora KDE]     [Fedora Desktop]     [Linux Kernel]     [Gimp]     [GIMP for Windows]     [Gnome]     [Yosemite Hiking]
  Powered by Linux