zsh-users
 help / color / mirror / code / Atom feed
From: "Leon Mergen" <leon@antrophia.com>
To: <zsh-users@sunsite.dk>
Subject: Colored prompt problem
Date: Sun, 24 Nov 2002 13:49:32 -0500 (EST)	[thread overview]
Message-ID: <64953.213.116.100.36.1038163772.squirrel@www.antrophia.com> (raw)

Hello,

This is my first time posting to this mailing list, so if I do something
wrong, please excuse me :)
Anyway, I have recently (yesterday to be exact) install zsh... and I love
it! After reading through some how-to's and faq's, I've come up with the
following PROMPT in my ~/.zshrc file :
PROMPT=$(echo
'%B%{\033[33m%}%n@\033[31m%}%m\033[39m%}:\033[32m%}[%~]\033[00m%}\033[34m%}[%h]\033[00m%}
%# %b% ' )
This one looks pretty cool I think (yellow user @ red hostname : [green
dir] [blue count]) ... however, it has a disadvantage: when I enter long
commands (such as "irssi --connect=irc.snt.utwente.nl") , at the point it
should wrap to the next line (well, actually, a lot earlier, it tries to
go to the next line after the "irc.snt" point) , instead of going to the
next line, it completely clears out the line I'm currently at and starts
at the beginning...
I hope I kind of make sense, I personally think I need to "catch" some
escape character or something... Hope someone can help me :)
-- 
Grtz,

Leon Mergen





             reply	other threads:[~2002-11-24 12:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-24 18:49 Leon Mergen [this message]
2002-11-24 18:36 ` DervishD

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=64953.213.116.100.36.1038163772.squirrel@www.antrophia.com \
    --to=leon@antrophia.com \
    --cc=zsh-users@sunsite.dk \
    /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).