From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2945 invoked by alias); 18 Sep 2014 16:41:19 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 33194 Received: (qmail 2621 invoked from network); 18 Sep 2014 16:41:17 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, SPF_HELO_PASS autolearn=ham version=3.3.2 From: Frank Terbeck To: Manfred Lotz Cc: Zsh Hackers' List Subject: Re: Prompt problem in zsh 4.3.17 In-Reply-To: <20140918125411.GE6495@sym.noone.org> (Axel Beckert's message of "Thu, 18 Sep 2014 14:54:12 +0200") References: <20140918113351.777994b8@hogwart.bsdlocal.net> <20140918125411.GE6495@sym.noone.org> User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.93 (gnu/linux) Date: Thu, 18 Sep 2014 18:41:34 +0200 Message-ID: <87mw9w285d.fsf@ft.bewatermyfriend.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Df-Sender: NDMwNDQ0 Axel Beckert wrote: [...] > 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: >>=20 >> prompt fade yellow >> =E2=96=88=E2=96=93=E2=96=92=E2=96=91manfred@myserver=E2=96=88=E2=96=93= =E2=96=92=E2=96=91 Thu Sep 18 11:32:31am=20 >> _cwd}~/=20 [...] > 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. Better yet: Copy=20 /usr/share/zsh/functions/Prompts/prompt_fade_setup to /usr/local/share/zsh/site-functions/prompt_fade_setup And put the fix into that file. On debian, /usr/local/share/zsh/site-functions is the first entry in $fpath and thus entries from it will override any other files. Therefore a file in there would survive package upgrades as well. Regards, Frank