From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23100 invoked by alias); 18 Sep 2014 17:59:53 -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: 33195 Received: (qmail 8202 invoked from network); 18 Sep 2014 17:59:38 -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=-0.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_BL_SPAMCOP_NET, RCVD_IN_DNSWL_NONE autolearn=no version=3.3.2 X-Greylist: Passed host: 79.255.38.207 X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-14.arcor-online.net 479529BE11 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arcor.de; s=mail-in; t=1411061304; bh=Ddnu4e8IuGgaqWDzlk26RV78YrR6effCbo8eSnuCGJM=; h=Date:From:To:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type:Content-Transfer-Encoding; b=tmMHRWZwf4U3TuLpMw90qNODQ4GRN4XXH/8qaFuv07bYkbl/3hcv2ELzO2mCAB/JV g+oEXQI+lmKkjFalcoddkg1SUTRAGclZUgB4oovw3L3KWY82A/Gi5o3xkw+Jgbuh1A d+oKy9oyneR49DqoV+tMCjsvEHv6kUFCs/Rm55AY= Date: Thu, 18 Sep 2014 19:28:23 +0200 From: Manfred Lotz To: Zsh Hackers' List Subject: Re: Prompt problem in zsh 4.3.17 Message-ID: <20140918192823.0fec6f0e@hogwart.bsdlocal.net> In-Reply-To: <87mw9w285d.fsf@ft.bewatermyfriend.org> References: <20140918113351.777994b8@hogwart.bsdlocal.net> <20140918125411.GE6495@sym.noone.org> <87mw9w285d.fsf@ft.bewatermyfriend.org> X-Mailer: Claws Mail 3.10.1 (GTK+ 2.24.24; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Frank, Thanks to you and Axel for your answers. On Thu, 18 Sep 2014 18:41:34 +0200 Frank Terbeck wrote: > 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. >=20 > Better yet: Copy=20 >=20 > /usr/share/zsh/functions/Prompts/prompt_fade_setup >=20 > to >=20 > /usr/local/share/zsh/site-functions/prompt_fade_setup >=20 > 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. >=20 >=20 Yes, it would be better to copy and fix the copy.=20 Thanks again, Manfred