Since I've started using git to manage my .emacs file, I've found it useful to keep everything in my ~/.emacs.d direcory. I would like to have eshell, therefore, read ~/.emacs/eshell.el on startup instead of the default ~/.eshell .
I thought this would be simple enough, just change the eshell-directory-name variable to point where I want:
(setq eshell-directory-name '("~/.emacs.d/eshell"))
However, when I do that, I get the error:
call-interactively: Autoloading failed to define function eshell
and eshell fails to load.
What is the correct way to change this setting?