zsh-workers
 help / color / mirror / code / Atom feed
* Tiny patch: Functions/Prompts/prompt_bigfade_setup
@ 2011-03-04 18:01 adriatic.c
  2011-03-05 17:35 ` Bart Schaefer
  0 siblings, 1 reply; 2+ messages in thread
From: adriatic.c @ 2011-03-04 18:01 UTC (permalink / raw)
  To: zsh-workers


[-- 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)

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Tiny patch: Functions/Prompts/prompt_bigfade_setup
  2011-03-04 18:01 Tiny patch: Functions/Prompts/prompt_bigfade_setup adriatic.c
@ 2011-03-05 17:35 ` Bart Schaefer
  0 siblings, 0 replies; 2+ messages in thread
From: Bart Schaefer @ 2011-03-05 17:35 UTC (permalink / raw)
  To: zsh-workers

On Mar 4, 10:01am, adriatic.c@gmail.com wrote:
} 
} Use of $PWD instead of %d makes the directory name static in the prompt.

I've committed this as-is, but I wonder if it might be nice to use %~.

-- 


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-03-05 17:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-04 18:01 Tiny patch: Functions/Prompts/prompt_bigfade_setup adriatic.c
2011-03-05 17:35 ` Bart Schaefer

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).