Finished bash_history implementation
Still kind of buggy, but working