Fake emacs in bash