1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-01-01 05:16:05 +01:00

Adrian: 28857: Functions/Prompts/prompt_bigfade_setup: use %d instead of $PWD

This commit is contained in:
Bart Schaefer 2011-03-05 17:34:21 +00:00
parent 2eac105770
commit 1a3612f119
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2011-03-05 Barton E. Schaefer <schaefer@zsh.org>
* Adrian: 28857: Functions/Prompts/prompt_bigfade_setup: use %d
instead of $PWD
2011-03-04 Frank Terbeck <ft@bewatermyfriend.org>
* 28853: Doc/Zsh/contrib.yo, Doc/Zsh/expn.yo, Functions/Chpwd/cdr,
@ -14292,5 +14297,5 @@
*****************************************************
* This is used by the shell to define $ZSH_PATCHLEVEL
* $Revision: 1.5214 $
* $Revision: 1.5215 $
*****************************************************

View file

@ -31,7 +31,7 @@ prompt_bigfade_setup () {
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)