Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: command substitution with control chars?



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