about summary refs log tree commit diff
path: root/Functions/Prompts/prompt_fire_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
commitd3170c8ee6eb6aa6050d6531536e5e9fba278b57 (patch)
tree4be666df9d3dcce75a68560c44f40b6efe79c24d /Functions/Prompts/prompt_fire_setup
parent298c35419d8da664ba22f9daa26758798da390d4 (diff)
downloadzsh-d3170c8ee6eb6aa6050d6531536e5e9fba278b57.tar.gz
zsh-d3170c8ee6eb6aa6050d6531536e5e9fba278b57.tar.xz
zsh-d3170c8ee6eb6aa6050d6531536e5e9fba278b57.zip
Initial revision
Diffstat (limited to 'Functions/Prompts/prompt_fire_setup')
-rw-r--r--Functions/Prompts/prompt_fire_setup28
1 files changed, 28 insertions, 0 deletions
diff --git a/Functions/Prompts/prompt_fire_setup b/Functions/Prompts/prompt_fire_setup
new file mode 100644
index 000000000..bd26dd10a
--- /dev/null
+++ b/Functions/Prompts/prompt_fire_setup
@@ -0,0 +1,28 @@
+# Converted to zsh prompt theme by bash2zshprompt, written by <adam@spiers.net>
+
+for code in 333 262 261 260 260 261 262 333; do
+  local varname=char_$code
+  : ${(P)varname=$(echo -n "\\0$code")}
+done
+
+# Inspired by Raster (Carsten Haitzler of Red Hat Advanced Development Labs)
+# Created by BadlandZ
+# Changed by Spidey 08/06
+prompt_fire_setup () {
+  local GRAD1='%{$char_333$char_262$char_261$char_260%}'
+  local GRAD2='%{$char_260$char_261$char_262$char_333%}'
+  local COLOR1='%{$bold_color$fg_yellow$bg_yellow%}'
+  local COLOR2='%{$bold_color$fg_white$bg_yellow%}'
+  local COLOR3='%{$reset_color$fg_red$bg_yellow%}'
+  local COLOR4='%{$reset_color$fg_red$bg_grey%}'
+  local COLOR5='%{$bold_color$fg_yellow$bg_grey%}'
+  local COLOR6='%{$bold_color$fg_white$bg_grey%}'
+  local GRAD0='%{$reset_color%}'
+    PS1=$COLOR1$GRAD1$COLOR2'%n@%m'$COLOR3$GRAD2$COLOR4$GRAD1$COLOR6' %D{%a %b %d} %D{%I:%M:%S%P} '$NONE'$prompt_newline'$COLOR5'%~/'$GRAD0' '
+    PS2=$COLOR1$GRAD1$COLOR3$GRAD2$COLOR4$GRAD1$COLOR5'>'$GRAD0' '
+
+  precmd () { }
+  preexec () { }
+}
+
+prompt_fire_setup "$@"