zsh-users
 help / color / mirror / code / Atom feed
* [juhtolv@st.jyu.fi: Re: Whatta fsck is this?]
@ 2000-10-23 16:51 Juhapekka Tolvanen
  2000-10-23 17:51 ` Philip Kizer
  0 siblings, 1 reply; 4+ messages in thread
From: Juhapekka Tolvanen @ 2000-10-23 16:51 UTC (permalink / raw)
  To: zsh-user mailing list

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2000-11-20 15:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-10-23 16:51 [juhtolv@st.jyu.fi: Re: Whatta fsck is this?] Juhapekka Tolvanen
2000-10-23 17:51 ` Philip Kizer
2000-11-20  6:09   ` Juhapekka Tolvanen
2000-11-20 15:28     ` Bart Schaefer

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).