KSH History
In the last couple of weeks, I started realizing that my OpenBSD KSH doesn't retain its history between logins. Besides the question why it took me so long to notice, the solution is pretty straight forward. Just put
export HISTFILE=~/.sh_history
into your .profile
.