Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: command substitution with control chars?
- X-seq: zsh-users 11342
- From: Atom Smasher <atom@xxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: command substitution with control chars?
- Date: Sun, 25 Mar 2007 22:54:33 -0400 (EDT)
- In-reply-to: <46073264.4020203@xxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Openpgp: id=0xB88D52E4D9F57808; algo=1 (RSA); size=4096; url=http://atom.smasher.org/pgp.txt
- References: <20070325094407.62594.qmail@xxxxxxxxxxx> <237967ef0703251133y79cde28coaa7a788f0ced8069@xxxxxxxxxxxxxx> <20070325185204.48021.qmail@xxxxxxxxxxx> <070325122619.ZM26273@xxxxxxxxxxxxxxxxxxxxxx> <20070325212649.61084.qmail@xxxxxxxxxxx> <46073264.4020203@xxxxxxxxxx>
On Sun, 25 Mar 2007, Micah Cowan wrote:
Atom Smasher wrote:
got it!
it was partly that my script outputs the percentage of battery charge,
complete with a trailing "%". of course this needed to be escaped, but
i think the missing "setopt promptsubst" was the bigger problem. i'd
feel stupid about it, but there doesn't seem to be any reference to
that in the zshall man page (zsh-4.3.2).
There is; but the option is actually termed PROMPT_SUBST (options are
case-insensitive, underscores don't matter).
===================
so now i feel stupid ;)
my PAGER=most, so upper/lower case doesn't matter, but the underscore made
me miss it.
--
...atom
________________________
http://atom.smasher.org/
762A 3B98 A3C3 96C9 C6B7 582A B88D 52E4 D9F5 7808
-------------------------------------------------
A student asked his old Sufi Master if he should tie up
his camel for the night, so that it wouldn't wander
away while they were sleeping or if doing so was an
insult to God. Should he leave the camel untied to
show his trust in God that the camel wouldn't run away?
The Master replied "Trust God AND tie up your camel."
Messages sorted by:
Reverse Date,
Date,
Thread,
Author