Skip to content →

bash history management (and immediate sharing)

Here is a .bash_profile snippet that allows immediate history sharing between bash sessions and also makes bash to _not_ put commands in the history that are prepended by a space.

Just put it in your ~/.bash_profile or ~/.bashrc

Snippet:

 

Published in Cheat Sheet

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *