From: Oleg Broytman Date: Tue, 6 Dec 2022 16:05:25 +0000 (+0300) Subject: .bashrc: Read history X-Git-Url: https://git.phdru.name/?p=dotfiles.git;a=commitdiff_plain;h=55c8b1e2617b10458a50ff5148c4830338e12728 .bashrc: Read history --- diff --git a/.bashrc b/.bashrc index b69df3f..2d94622 100644 --- 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