zsh-users
 help / color / mirror / code / Atom feed
From: "Timothy J. Luoma" <luomat@nerc.com>
To: zsh-users@math.gatech.edu
Subject: zsh 3pre2: carriage return in prompt
Date: Thu, 11 Jul 96 02:01:31 -0400	[thread overview]
Message-ID: <199607110601.CAA00860@nerc.com> (raw)


I had been using this as my prompt:

PROMPT='[%h] [OLD: $OLDPWD] [CURRENT: %~] $(echo "\n")'

That gave me the information I wanted, and a carriage return at the  
end of the line, so my commands always began at the left margin.

This no longer works with 3.pre2.  Has something changed that makes  
this impossible? All I want is something that looks like this:

[localhost] [OLD: /old/path] [CURRENT: ~current]
X

where X represents where the cursor would be located

Thanks!
TjL


--------------------------------------------------------------------
Timothy J. Luoma <luomat@nerc.com>
NeXTMail adored! (MIME/SUN also accepted)
NeXT info via email: send message with SUBJECT: send-ascii info
Now in infancy: http://www.nerc.com/~luomat



             reply	other threads:[~1996-07-11  6:13 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-07-11  6:01 Timothy J. Luoma [this message]
1996-07-11 13:55 ` Zoltan Hidvegi
1996-07-11 16:47   ` Timothy J. Luoma
1996-07-11 17:51     ` On the topic of prompts DeWitt Clinton
1996-07-11 23:00       ` Bart Schaefer
1996-07-12 18:36         ` Jose Unpingco
1996-07-13  2:42           ` Bart Schaefer
1996-07-16  6:25           ` Nikita Borisov

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

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

  git send-email \
    --in-reply-to=199607110601.CAA00860@nerc.com \
    --to=luomat@nerc.com \
    --cc=zsh-users@math.gatech.edu \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

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 NNTP newsgroup(s).