From d3170c8ee6eb6aa6050d6531536e5e9fba278b57 Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Mon, 4 Oct 1999 22:57:19 +0000 Subject: Initial revision --- Functions/Prompts/prompt_elite2_setup | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Functions/Prompts/prompt_elite2_setup (limited to 'Functions/Prompts/prompt_elite2_setup') diff --git a/Functions/Prompts/prompt_elite2_setup b/Functions/Prompts/prompt_elite2_setup new file mode 100644 index 000000000..c6bb0b076 --- /dev/null +++ b/Functions/Prompts/prompt_elite2_setup @@ -0,0 +1,17 @@ +# Converted to zsh prompt theme by bash2zshprompt, written by +# Created by icetrey +# Added by Spidey 08/06 +prompt_elite2_setup () { + local GRAD1=`tty|cut -d/ -f3` + local COLOR1="%{$reset_color$fg_cyan%}" + local COLOR2="%{$bold_color$fg_cyan%}" + local COLOR3="%{$bold_color$fg_grey%}" + local COLOR4="%{$reset_color%}" + PS1="$COLOR3レ$COLOR1ト$COLOR2($COLOR1%n$COLOR3@$COLOR1%m$COLOR2)$COLOR1ト$COLOR2($COLOR1%!$COLOR3/$COLOR1$GRAD1$COLOR2)$COLOR1ト$COLOR2($COLOR1%D{%I:%M%P}$COLOR3:$COLOR1%D{%m/%d/%y}$COLOR2)$COLOR1ト$COLOR3-$COLOR4$prompt_newline$COLOR3タ$COLOR1ト$COLOR2($COLOR1%#$COLOR3:$COLOR1%~$COLOR2)$COLOR1ト$COLOR3-$COLOR4 " + PS2="$COLOR2ト$COLOR1ト$COLOR3-$COLOR4 " + + precmd () { } + preexec () { } +} + +prompt_elite2_setup "$@" -- cgit 1.4.1