zsh-workers
 help / color / mirror / code / Atom feed
From: "adriatic.c@gmail.com" <adriatic.c@gmail.com>
To: zsh-workers@zsh.org
Subject: Tiny patch: Functions/Prompts/prompt_bigfade_setup
Date: Fri, 4 Mar 2011 10:01:13 -0800	[thread overview]
Message-ID: <AANLkTi=Heb29cTFrqGu-rW=N+nxJTdwmgwZs0_Lh6Dru@mail.gmail.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 80 bytes --]

Use of $PWD instead of %d makes the directory name static in the prompt.
Adrian

[-- Attachment #1.2: Type: text/html, Size: 135 bytes --]

[-- Attachment #2: prompt_bigfade_setup.patch --]
[-- Type: application/octet-stream, Size: 1209 bytes --]

--- Functions/Prompts/prompt_bigfade_setup	2008-07-11 12:12:24.000000000 -0700
+++ Functions/Prompts/prompt_bigfade_setup.fixed	2011-03-04 09:59:16.300001439 -0800
@@ -31,7 +31,7 @@
   autoload -Uz prompt_special_chars
   prompt_special_chars
 
-  PS1="%B%F{$fadebar}$schars[333]$schars[262]$schars[261]$schars[260]%B%F{$userhost}%K{$fadebar}%n@%m%b%k%f%F{$fadebar}%K{black}$schars[260]$schars[261]$schars[262]$schars[333]%b%f%k%F{$fadebar}%K{black}$schars[333]$schars[262]$schars[261]$schars[260]%B%F{$date}%K{black} %D{%a %b %d} %D{%I:%M:%S%P}$prompt_newline%B%F{$cwd}%K{black}$PWD>%b%f%k "
+  PS1="%B%F{$fadebar}$schars[333]$schars[262]$schars[261]$schars[260]%B%F{$userhost}%K{$fadebar}%n@%m%b%k%f%F{$fadebar}%K{black}$schars[260]$schars[261]$schars[262]$schars[333]%b%f%k%F{$fadebar}%K{black}$schars[333]$schars[262]$schars[261]$schars[260]%B%F{$date}%K{black} %D{%a %b %d} %D{%I:%M:%S%P}$prompt_newline%B%F{$cwd}%K{black}%d>%b%f%k "
   PS2="%B%F{$fadebar}$schars[333]$schars[262]$schars[261]$schars[260]%b%F{$fadebar}%K{black}$schars[260]$schars[261]$schars[262]$schars[333]%F{$fadebar}%K{black}$schars[333]$schars[262]$schars[261]$schars[260]%B%F{$fadebar}>%b%f%k "
 
   prompt_opts=(cr subst percent)

             reply	other threads:[~2011-03-04 18:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-04 18:01 adriatic.c [this message]
2011-03-05 17:35 ` Bart Schaefer

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='AANLkTi=Heb29cTFrqGu-rW=N+nxJTdwmgwZs0_Lh6Dru@mail.gmail.com' \
    --to=adriatic.c@gmail.com \
    --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).