keymap for ielm
oh-my-zsh style prompt-function
fix eshell-prompt bug
merge from @judevc