fix eshell prompt regexp, make C-p/C-n go through input history