From 8b21d59cfac518f3f7bd1a126c7e36459a5d7f84 Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Mon, 4 Oct 1999 22:57:19 +0000 Subject: zsh-workers/8129 --- Functions/Prompts/prompt_yellow_setup | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Functions/Prompts/prompt_yellow_setup (limited to 'Functions/Prompts/prompt_yellow_setup') diff --git a/Functions/Prompts/prompt_yellow_setup b/Functions/Prompts/prompt_yellow_setup new file mode 100644 index 000000000..31a8ac1b0 --- /dev/null +++ b/Functions/Prompts/prompt_yellow_setup @@ -0,0 +1,18 @@ +# Converted to zsh prompt theme by bash2zshprompt, written by + +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 +# Changed by Spidey 08/06 +prompt_yellow_setup () { + PS1="%{$fg_yellow$bg_yellow$bold_color%}$char_333$char_262$char_261$char_260%{$fg_white$bg_yellow$bold_color%}%n@%m%{$reset_color$fg_yellow$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_yellow$bg_grey$bold_color%}%~/%{$reset_color%} " + PS2="%{$fg_yellow$bg_grey%}$char_333$char_262$char_261$char_260%{$reset_color%}>" + + precmd () { } + preexec () { } +} + +prompt_yellow_setup "$@" -- cgit 1.4.1