zsh-users
 help / color / mirror / code / Atom feed
From: Juhapekka Tolvanen <juhtolv@st.jyu.fi>
To: Philip Kizer <pckizer@tamu.edu>,
	zsh-user mailing list <zsh-users@sunsite.auc.dk>
Subject: Re: [juhtolv@st.jyu.fi: Re: Whatta fsck is this?]
Date: Mon, 20 Nov 2000 08:09:50 +0200	[thread overview]
Message-ID: <20001120080950.A30015@silmu.st.jyu.fi> (raw)

On Mon, 23 Oct 2000, +20:51:27 EEST (UTC +0300),
Philip Kizer <pckizer@tamu.edu> pressed these keys:

> Juhapekka Tolvanen <juhtolv@st.jyu.fi> wrote:
> >> export ROOTTEXT='%(0#.-=*[ROOT ZSH]*=-)'
> >> export ROOTPROMPTADD='%(0#. .)'
> >> export ROOTTITLEADD='%(0#. | .'

Well, I decided to do it like this:

export ROOTTEXT="%(!.-=*[ROOT ZSH]*=-.)"
export ROOTPROMPTADD="%(!. .)"
export ROOTTITLEADD="%(!. | .)"

But thank you, anyway.

> >Very interesting. Can you explain, what that kind of markup means? What
> >TFM or section of "info zsh" should I read?
> 
> 'man zshparam' under the PS1 section you should find: 
> 
>     %(x.true-text.false-text)

Well, in my system it was "man zshmisc" under section "PROMPT
EXPANSION". And version numer is:

juhtolv@heresy : /home/juhtolv
% zsh --version                                                 10001 | pts/6
zsh 3.1.9-dev-6 (i686-pc-linux-gnu)

BTW what was the first version of zsh, that was able to understand
"--version". It is time to update this:

http://www.math.fu-berlin.de/user/guckes/version/

-- 
Juhapekka "naula" Tolvanen * * U of Jyväskylä * * * juhtolv@st.jyu.fi
http://www.jyu.fi/~juhtolv/index.html * * "STRAIGHT BUT NOT NARROW!!"
---------------------------------------------------------------------
"Asiantuntijana kerron, ettei se mene noin, vaan siten että vajoaa
sängyn pohjalle säälimään itseään eikä jaksa tehdä yhtään mitään kun
ei kukaan anna kuitenkaan. Ei siivota, ei hakea töitä, ei käydä
kaupassa..."  Hiski Haapoja, 14.10.2000 sfnet.keskustelu.ihmissuhteet


         reply	other threads:[~2000-11-20  6:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-10-23 16:51 Juhapekka Tolvanen
2000-10-23 17:51 ` Philip Kizer
2000-11-20  6:09   ` Juhapekka Tolvanen [this message]
2000-11-20 15:28     ` 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=20001120080950.A30015@silmu.st.jyu.fi \
    --to=juhtolv@st.jyu.fi \
    --cc=pckizer@tamu.edu \
    --cc=zsh-users@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).