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

Re: Prompt problem in zsh 4.3.17



Hi Manfred,

Manfred Lotz schrieb am Thu, Sep 18, 2014 at 11:33:51AM +0200:
> I'm on a Debian system where trying to check out predefined prompts
> gives me this:
> 
> prompt fade yellow
> █▓▒░manfred@myserver█▓▒░ Thu Sep 18 11:32:31am 
> _cwd}~/ 
> 
> Colors are fine, just the _cwd} is a bit odd.

Indeed. I can reproduce this on Debian Wheezy. It's though fixed in
later versions of zsh, i.e. will no more happen in Debian Jessie (the
next Debian Stable Release).

> Anything I could do?

Not really a nice solution, rather a short hack:

Edit /usr/share/zsh/functions/Prompts/prompt_fade_setup as root and
change in line 34 %F{fadebar_cwd} to %F{$fadebar_cwd} (a dollar sign
is missing).

In case there should be a security update of zsh in Debian Wheezy, you
may need to redo this.

		Regards, Axel
-- 
/~\  Plain Text Ribbon Campaign                   | Axel Beckert
\ /  Say No to HTML in E-Mail and News            | abe@xxxxxxxxxxxxxxx  (Mail)
 X   See http://arc.pasp.de/                      | abe@xxxxxxxxx (Mail+Jabber)
/ \  I love long mails: http://email.is-not-s.ms/ | http://noone.org/abe/ (Web)



Messages sorted by: Reverse Date, Date, Thread, Author