zsh-workers
 help / color / mirror / code / Atom feed
From: Juhapekka Tolvanen <juhtolv@st.jyu.fi>
To: Oliver Kiddle <opk@u.genie.co.uk>
Cc: zsh-workers@sunsite.auc.dk
Subject: Re: Good documentation about literal escape sequences in prompt?
Date: Sun, 12 Mar 2000 21:34:49 +0200 (EET)	[thread overview]
Message-ID: <Pine.LNX.4.10.10003122131540.17689-100000@verso.st.jyu.fi> (raw)
In-Reply-To: <38CBDFBB.F2917D52@u.genie.co.uk>


On Sun, 12 Mar 2000, Oliver Kiddle wrote:

> Juhapekka Tolvanen wrote:

> PS1="%{"$'\e[1;31m'"%}$PS1%{"$'\e[0m'"%}"
> 
> > When I find some escape sequences from /usr/share/zsh/functions/colors, how
> > can I "convert" them so, that I can put them to my PS1 between %{...%} ?

> You should be able to take my line above as an example of this.

Thanks, I needed that! (C) Gillette. It works. And now, somebody please
add that to FAQ of Zsh.


-- 
-- Juhapekka "naula" Tolvanen * * * U of Jyväskylä * * juhtolv@st.jyu.fi --
-- http://www.cc.jyu.fi/~juhtolv/ * * * * " STRAIGHT BUT NOT NARROW !! " --
---------------------------------------------------------------------------
"I don't want to run a company. I'm not good at managing people. You have
a problem with the guy in the next cubicle? I don't care. Shoot him or
something." Marc Andreessen, founder of Netscape, in Rolling Stone, May '97


  reply	other threads:[~2000-03-12 19:35 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-03-11 23:41 Juhapekka Tolvanen
2000-03-11 23:55 ` Adam Spiers
2000-03-12  0:05 ` Bart Schaefer
2000-03-12 17:35   ` Juhapekka Tolvanen
2000-03-12 18:19     ` Oliver Kiddle
2000-03-12 19:34       ` Juhapekka Tolvanen [this message]
2000-03-12 18:37     ` Bart Schaefer

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=Pine.LNX.4.10.10003122131540.17689-100000@verso.st.jyu.fi \
    --to=juhtolv@st.jyu.fi \
    --cc=opk@u.genie.co.uk \
    --cc=zsh-workers@sunsite.auc.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).