Make Bash append rather than overwrite the history.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Sat, 13 Aug 2011 00:53:11 +0300
changeset 171 47aa0a6acc75
parent 170 d67518019fe5
child 172 755ff9f067d0
Make Bash append rather than overwrite the history.
.bashrc
--- a/.bashrc	Sat Aug 13 00:51:30 2011 +0300
+++ b/.bashrc	Sat Aug 13 00:53:11 2011 +0300
@@ -40,6 +40,9 @@
 # Can be XXX /visible. I like bell.
 # set bell-style visible
 
+# Make Bash append rather than overwrite the history.
+shopt -s histappend
+
 # Minor errors in the spelling of a directory component in a cd command will
 # be corrected.
 shopt -s cdspell