]> git.phdru.name Git - dotfiles.git/commitdiff
.bashrc: Read history
authorOleg Broytman <phd@phdru.name>
Tue, 6 Dec 2022 16:05:25 +0000 (19:05 +0300)
committerOleg Broytman <phd@phdru.name>
Tue, 6 Dec 2022 16:05:25 +0000 (19:05 +0300)
.bashrc

diff --git a/.bashrc b/.bashrc
index b69df3fd59b0e25ba0660dac46b175f9ee1fc78c..2d94622f2a7d7945e0159715fd710b50a2d376f9 100644 (file)
--- a/.bashrc
+++ b/.bashrc
@@ -26,6 +26,7 @@ esac
 . "$HOME"/.shellrc
 
 if [ "$HISTFILE" = "$HOME/.bash_history" ]; then
+    history -r
     # This is the default value set by interactive bash
     # when the global value was unset. Unset it here too.
     unset HISTFILE