zsh-users
 help / color / mirror / code / Atom feed
From: Juhapekka Tolvanen <juhtolv@st.jyu.fi>
To: zsh-user mailing list <zsh-users@sunsite.auc.dk>
Subject: [juhtolv@st.jyu.fi: Re: Whatta fsck is this?]
Date: Mon, 23 Oct 2000 19:51:28 +0300	[thread overview]
Message-ID: <20001023195128.B15937@verso.st.jyu.fi> (raw)

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

> Juhapekka Tolvanen <juhtolv@st.jyu.fi> wrote:
> >Argh! It was b0rken! That does not fscking work, when I am rewt.
> 
> Not to answer the larger question, but why don't you "simplify" the
> optional root bits in this from:
> 
> ># {{{ Am I root?
> >
> >if (( EUID == 0 ))
> >then
> >  export ROOTTEXT='-=*[ROOT ZSH]*=-'
> >  export ROOTPROMPTADD=' '
> >  export ROOTTITLEADD=' | '
> >
> >else
> >  ROOTTEXT=''
> >  ROOTPROMPTADD=''
> >  ROOTTITLEADD=''
> >fi
> 
> into:
> 
> export ROOTTEXT='%(0#.-=*[ROOT ZSH]*=-)'
> export ROOTPROMPTADD='%(0#. .)'
> export ROOTTITLEADD='%(0#. | .'
> 
> etc.?

Very interesting. Can you explain, what that kind of markup means? What
TFM or section of "info zsh" should I read?

-- 
Juhapekka "naula" Tolvanen * * * U of Jyväskylä * * * juhtolv@st.jyu.fi
http://www.cc.jyu.fi/~juhtolv/index.html * * "STRAIGHT BUT NOT NARROW!"
-----------------------------------------------------------------------
"Rakasta mua, tai vihaa mua. Hei, kuinka vaan. Kai sillä sitten voit
jotain uutta saavuttaa. Kai mä ansaitsen uuden tilaisuuden. Kai mä
ansaitsen. Hei, mä tiedän sen. Olen liikaa. Minä olen liikaa." Apulanta


             reply	other threads:[~2000-10-23 16:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-10-23 16:51 Juhapekka Tolvanen [this message]
2000-10-23 17:51 ` Philip Kizer
2000-11-20  6:09   ` Juhapekka Tolvanen
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=20001023195128.B15937@verso.st.jyu.fi \
    --to=juhtolv@st.jyu.fi \
    --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).