diff options
author | Bart Schaefer <barts@users.sourceforge.net> | 2005-05-10 04:38:54 +0000 |
---|---|---|
committer | Bart Schaefer <barts@users.sourceforge.net> | 2005-05-10 04:38:54 +0000 |
commit | d0a12b9d7bf8794c1fd4b490501ee167aa62b511 (patch) | |
tree | e4e2e6189b4feefbf034784471b3c64d9efba95c /Functions/Prompts/prompt_bigfade_setup | |
parent | 0d34cdcb0d6ff553582b68de2d21aa434c93d2ab (diff) | |
download | zsh-d0a12b9d7bf8794c1fd4b490501ee167aa62b511.tar.gz zsh-d0a12b9d7bf8794c1fd4b490501ee167aa62b511.tar.xz zsh-d0a12b9d7bf8794c1fd4b490501ee167aa62b511.zip |
Misc. prompt theme repairs
Diffstat (limited to 'Functions/Prompts/prompt_bigfade_setup')
-rw-r--r-- | Functions/Prompts/prompt_bigfade_setup | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Functions/Prompts/prompt_bigfade_setup b/Functions/Prompts/prompt_bigfade_setup index 260c0ddf0..3b73c1e0f 100644 --- a/Functions/Prompts/prompt_bigfade_setup +++ b/Functions/Prompts/prompt_bigfade_setup @@ -25,9 +25,8 @@ prompt_bigfade_setup () { local date=${3:-'white'} local cwd=${4:-'yellow'} - for code in 333 262 261 260 260 261 262 333 333 262 261 260 333 262 261 260 260 261 262 333 333 262 261 260; do - local varname=char_$code - : ${(P)varname=$(echo -n "\\0$code")} + for code in 333 262 261 260; do + local char_$code=$(echo -n "\\0$code") done PS1="%{$bold_color$fg[$fadebar]$bold_color%}$char_333$char_262$char_261$char_260%{$bold_color$fg[$userhost]$bg[$fadebar]%}%n@%m%{$reset_color$fg[$fadebar]$bg[grey]%}$char_260$char_261$char_262$char_333%{$reset_color$fg[$fadebar]$bg[grey]%}$char_333$char_262$char_261$char_260%{$bold_color$fg[$date]$bg[grey]%} %D{%a %b %d} %D{%I:%M:%S%P}$prompt_newline%{$bold_color$fg[$cwd]$bg[grey]%}$PWD>%{$reset_color%} " |