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

30468: prompt_fade_setup: add missing $

This commit is contained in:
Mikael Magnusson 2012-05-14 15:24:20 +00:00
parent 4a29eaaccd
commit 2a7c994ed4
2 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,7 @@
2012-05-14 Mikael Magnusson <mikachu@gmail.com>
* 30468: Functions/Prompts/prompt_fade_setup: add missing $.
2012-05-08 Barton E. Schaefer <schaefer@zsh.org>
* unposted, see users/17062: Doc/Zsh/contrib.yo: Briefly describe
@ -16290,5 +16294,5 @@
*****************************************************
* This is used by the shell to define $ZSH_PATCHLEVEL
* $Revision: 1.5650 $
* $Revision: 1.5651 $
*****************************************************

View file

@ -31,7 +31,7 @@ prompt_fade_setup () {
autoload -Uz prompt_special_chars
prompt_special_chars
PS1="%F{$fadebar_cwd}%B%K{$fadebar_cwd}$schars[333]$schars[262]$schars[261]$schars[260]%F{$userhost}%K{$fadebar_cwd}%B%n@%m%b%F{$fadebar_cwd}%K{black}$schars[333]$schars[262]$schars[261]$schars[260]%F{$date}%K{black}%B %D{%a %b %d} %D{%I:%M:%S%P} $prompt_newline%F{fadebar_cwd}%K{black}%B%~/%b%k%f "
PS1="%F{$fadebar_cwd}%B%K{$fadebar_cwd}$schars[333]$schars[262]$schars[261]$schars[260]%F{$userhost}%K{$fadebar_cwd}%B%n@%m%b%F{$fadebar_cwd}%K{black}$schars[333]$schars[262]$schars[261]$schars[260]%F{$date}%K{black}%B %D{%a %b %d} %D{%I:%M:%S%P} $prompt_newline%F{$fadebar_cwd}%K{black}%B%~/%b%k%f "
PS2="%F{$fadebar_cwd}%K{black}$schars[333]$schars[262]$schars[261]$schars[260]%f%k>"
prompt_opts=(cr subst percent)