Steven Wu writes:
> I looked into eshell, and felt that I really like it.
> Unfortunately, I wasn't able to find much documentation about it.
> Here is a question that I found: if I redefine
> eshell-prompt-function to something I like, i.e. no pathname, then
> completetion doesn't work. I kinda like to have the pathname
> printed on the window title bar, not at the prompt.
You need to change eshell-prompt-regexp as well. For example:
(setq eshell-prompt-function (lambda ()
(if (= (user-uid) 0) "# " "$ "))
eshell-prompt-regexp "^[$#] ")