diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 1999-10-04 22:57:19 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-10-04 22:57:19 +0000 |
commit | 8b21d59cfac518f3f7bd1a126c7e36459a5d7f84 (patch) | |
tree | 4fadfe55a5a9122fdf0b48ba31ebb6f7fe34159f /Functions/Prompts/prompt_white_setup | |
parent | 035ca7f26e5bb2643e23eda715c892b6a39c3180 (diff) | |
download | zsh-8b21d59cfac518f3f7bd1a126c7e36459a5d7f84.tar.gz zsh-8b21d59cfac518f3f7bd1a126c7e36459a5d7f84.tar.xz zsh-8b21d59cfac518f3f7bd1a126c7e36459a5d7f84.zip |
zsh-workers/8129
Diffstat (limited to 'Functions/Prompts/prompt_white_setup')
-rw-r--r-- | Functions/Prompts/prompt_white_setup | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Functions/Prompts/prompt_white_setup b/Functions/Prompts/prompt_white_setup new file mode 100644 index 000000000..9a8184b9f --- /dev/null +++ b/Functions/Prompts/prompt_white_setup @@ -0,0 +1,18 @@ +# Converted to zsh prompt theme by bash2zshprompt, written by <adam@spiers.net> + +for code in 333 262 261 260 333 262 261 260 333 262 261 260; do + local varname=char_$code + : ${(P)varname=$(echo -n "\\0$code")} +done + +# Created by Jim Foltz <aa204@acorn.net> +# Changed by Spidey 08/06 +prompt_white_setup () { + PS1="%{$fg_white$bg_white$bold_color%}$char_333$char_262$char_261$char_260%{$fg_white$bg_white$bold_color%}%n@%m%{$reset_color$fg_white$bg_grey%}$char_333$char_262$char_261$char_260%{$fg_white$bg_grey$bold_color%} %D{%a %b %d} %D{%I:%M:%S%P} $prompt_newline%{$fg_white$bg_grey$bold_color%}%~/%{$reset_color%} " + PS2="%{$fg_white$bg_grey%}$char_333$char_262$char_261$char_260%{$reset_color%}>" + + precmd () { } + preexec () { } +} + +prompt_white_setup "$@" |