unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Matt Hodges <matt@tc.bham.ac.uk>
Subject: Re: Eshell help.
Date: Fri, 03 Oct 2003 09:55:09 +0100	[thread overview]
Message-ID: <1zy8w2zonm.fsf@tcdec3.bham.ac.uk> (raw)
In-Reply-To: Tcweb.522$W7.82738@news.uswest.net

>>>>> 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.)

Matt

  parent reply	other threads:[~2003-10-03  8:55 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-01  8:26 Eshell help Steven Wu
2003-10-01 17:50 ` Dan Anderson
2003-10-03  7:38   ` Vincenzo Di Somma
     [not found]   ` <mailman.1051.1065166758.21628.help-gnu-emacs@gnu.org>
2003-10-03  8:51     ` Lute Kamstra
2003-10-03  9:20       ` Vincenzo Di Somma
2003-10-03 10:28     ` punkind
2003-10-03 22:58       ` Sean Richards
     [not found] ` <mailman.950.1065031212.21628.help-gnu-emacs@gnu.org>
2003-10-01 19:25   ` FRC
2003-10-03  8:55 ` Matt Hodges [this message]
2003-10-03 14:40   ` Peter Lee
2003-10-04  8:45     ` Matt Hodges
2003-10-05  8:38   ` Steven Wu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1zy8w2zonm.fsf@tcdec3.bham.ac.uk \
    --to=matt@tc.bham.ac.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).