Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: command substitution with control chars?
- X-seq: zsh-users 11341
- From: Micah Cowan <micah@xxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: command substitution with control chars?
- Date: Sun, 25 Mar 2007 19:39:32 -0700
- In-reply-to: <20070325212649.61084.qmail@xxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20070325094407.62594.qmail@xxxxxxxxxxx> <237967ef0703251133y79cde28coaa7a788f0ced8069@xxxxxxxxxxxxxx> <20070325185204.48021.qmail@xxxxxxxxxxx> <070325122619.ZM26273@xxxxxxxxxxxxxxxxxxxxxx> <20070325212649.61084.qmail@xxxxxxxxxxx>
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).
--
Micah J. Cowan
Programmer, musician, typesetting enthusiast, gamer...
http://micah.cowan.name/
Messages sorted by:
Reverse Date,
Date,
Thread,
Author