zsh-workers
 help / color / mirror / code / Atom feed
From: Frank Terbeck <ft@bewatermyfriend.org>
To: Manfred Lotz <manfred.lotz@arcor.de>
Cc: Zsh Hackers' List <zsh-workers@zsh.org>
Subject: Re: Prompt problem in zsh 4.3.17
Date: Thu, 18 Sep 2014 18:41:34 +0200	[thread overview]
Message-ID: <87mw9w285d.fsf@ft.bewatermyfriend.org> (raw)
In-Reply-To: <20140918125411.GE6495@sym.noone.org> (Axel Beckert's message of "Thu, 18 Sep 2014 14:54:12 +0200")

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:
>> 
>> prompt fade yellow
>> █▓▒░manfred@myserver█▓▒░ Thu Sep 18 11:32:31am 
>> _cwd}~/ 
[...]
> 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 

   /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


  reply	other threads:[~2014-09-18 16:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-18  9:33 Manfred Lotz
2014-09-18 12:54 ` Axel Beckert
2014-09-18 16:41   ` Frank Terbeck [this message]
2014-09-18 17:28     ` Manfred Lotz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mw9w285d.fsf@ft.bewatermyfriend.org \
    --to=ft@bewatermyfriend.org \
    --cc=manfred.lotz@arcor.de \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).