bashrc: fix history saving (#46)
zshrc: fix history saving

Closes #46