about summary refs log tree commit diff
path: root/Functions/Prompts/prompt_elite2_setup
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-10-04 22:57:19 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-10-04 22:57:19 +0000
commit8b21d59cfac518f3f7bd1a126c7e36459a5d7f84 (patch)
tree4fadfe55a5a9122fdf0b48ba31ebb6f7fe34159f /Functions/Prompts/prompt_elite2_setup
parent035ca7f26e5bb2643e23eda715c892b6a39c3180 (diff)
downloadzsh-8b21d59cfac518f3f7bd1a126c7e36459a5d7f84.tar.gz
zsh-8b21d59cfac518f3f7bd1a126c7e36459a5d7f84.tar.xz
zsh-8b21d59cfac518f3f7bd1a126c7e36459a5d7f84.zip
zsh-workers/8129
Diffstat (limited to 'Functions/Prompts/prompt_elite2_setup')
-rw-r--r--Functions/Prompts/prompt_elite2_setup17
1 files changed, 17 insertions, 0 deletions
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 <adam@spiers.net>
+# Created by icetrey <trey@imagin.net>
+# 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 "$@"