fix previous input in eshell