tried to fix eshell history, failed, need to just re-write the whole thing