[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Eshell help.

From: Matt Hodges
Subject: Re: Eshell help.
Date: Fri, 03 Oct 2003 09:55:09 +0100
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux)

>>>>> 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 "^[$#] ")

(You may have to restart Eshell after making this change.)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]