(eshell-command): Made a few changes so that `eshell-command' could be