modified init about eshell-hook