Blob Blame History Raw
diff -ru zsh-4.3.9-orig/Functions/Prompts/prompt_bigfade_setup zsh-4.3.9/Functions/Prompts/prompt_bigfade_setup
--- zsh-4.3.9-orig/Functions/Prompts/prompt_bigfade_setup	2008-07-14 10:04:18.000000000 -0400
+++ zsh-4.3.9/Functions/Prompts/prompt_bigfade_setup	2008-12-18 20:32:59.000000000 -0500
@@ -7,7 +7,7 @@
   cat <<EOH
 This prompt is color-scheme-able.  You can invoke it thus:
 
-  prompt bigfade [<fade-bar> [<userhost> [<date> [<cwd>]]]]
+  prompt bigfade [8bit] [<fade-bar> [<userhost> [<date> [<cwd>]]]]
 
 where the parameters are the colors for the fade-bar, user@host text,
 date text, and current working directory respectively.  The default
@@ -27,9 +27,12 @@
   local date=${3:-'white'}
   local cwd=${4:-'yellow'}
 
+  if [[ $1 == '8bit' ]]; then
+  shift
   local -A schars
   autoload -Uz prompt_special_chars
   prompt_special_chars
+  fi
 
   PS1="%B%F{$fadebar}$schars[333]$schars[262]$schars[261]$schars[260]%B%F{$userhost}%K{$fadebar}%n@%m%b%k%f%F{$fadebar}%K{black}$schars[260]$schars[261]$schars[262]$schars[333]%b%f%k%F{$fadebar}%K{black}$schars[333]$schars[262]$schars[261]$schars[260]%B%F{$date}%K{black} %D{%a %b %d} %D{%I:%M:%S%P}$prompt_newline%B%F{$cwd}%K{black}$PWD>%b%f%k "
   PS2="%B%F{$fadebar}$schars[333]$schars[262]$schars[261]$schars[260]%b%F{$fadebar}%K{black}$schars[260]$schars[261]$schars[262]$schars[333]%F{$fadebar}%K{black}$schars[333]$schars[262]$schars[261]$schars[260]%B%F{$fadebar}>%b%f%k "
diff -ru zsh-4.3.9-orig/Functions/Prompts/prompt_elite2_setup zsh-4.3.9/Functions/Prompts/prompt_elite2_setup
--- zsh-4.3.9-orig/Functions/Prompts/prompt_elite2_setup	2008-07-14 10:04:18.000000000 -0400
+++ zsh-4.3.9/Functions/Prompts/prompt_elite2_setup	2008-12-18 20:33:31.000000000 -0500
@@ -6,7 +6,7 @@
   cat <<EOH
 This prompt is color-scheme-able.  You can invoke it thus:
 
-  prompt elite2 [<text-color> [<parentheses-color>]]
+  prompt elite2 [8bit] [<text-color> [<parentheses-color>]]
 
 The default colors are both cyan.  This theme works best with a dark
 background.
@@ -21,9 +21,12 @@
   local text_col=${1:-'cyan'}
   local parens_col=${2:-$text_col}
 
+  if [[ $1 == '8bit' ]]; then
+  shift
   local -A schars
   autoload -Uz prompt_special_chars
   prompt_special_chars
+  fi
 
   local text="%b%F{$text_col}"
   local parens="%B%F{$parens_col}"
diff -ru zsh-4.3.9-orig/Functions/Prompts/prompt_elite_setup zsh-4.3.9/Functions/Prompts/prompt_elite_setup
--- zsh-4.3.9-orig/Functions/Prompts/prompt_elite_setup	2008-07-14 10:04:18.000000000 -0400
+++ zsh-4.3.9/Functions/Prompts/prompt_elite_setup	2008-12-18 20:33:45.000000000 -0500
@@ -6,7 +6,7 @@
   cat <<EOH
 This prompt is color-scheme-able.  You can invoke it thus:
 
-  prompt elite [<text-color> [<punctuation-color>]]
+  prompt elite [8bit] [<text-color> [<punctuation-color>]]
 
 The default colors are red and blue respectively.  This theme is
 intended for use with a black background.
@@ -21,9 +21,12 @@
   local text=${1:-'red'}
   local punctuation=${2:-'blue'}
 
+  if [[ $1 == '8bit' ]]; then
+  shift
   local -A schars
   autoload -Uz prompt_special_chars
   prompt_special_chars
+  fi
 
   PS1="%F{$text}$schars[332]$schars[304]%F{$punctuation}(%F{$text}%n%F{$punctuation}@%F{$text}%m%F{$punctuation})%F{$text}-%F{$punctuation}(%F{$text}%D{%I:%M%P}%F{$punctuation}-:-%F{$text}%D{%m}%F{$punctuation}%F{$text}/%D{%d}%F{$punctuation})%F{$text}$schars[304]-%F{$punctuation}$schars[371]%F{$text}-$schars[371]$schars[371]%F{$punctuation}$schars[372]$prompt_newline%F{$text}$schars[300]$schars[304]%F{$punctuation}(%F{$text}%1~%F{$punctuation})%F{$text}$schars[304]$schars[371]%F{$punctuation}$schars[372]%f"
   PS2="> "
diff -ru zsh-4.3.9-orig/Functions/Prompts/prompt_fade_setup zsh-4.3.9/Functions/Prompts/prompt_fade_setup
--- zsh-4.3.9-orig/Functions/Prompts/prompt_fade_setup	2008-07-14 10:04:18.000000000 -0400
+++ zsh-4.3.9/Functions/Prompts/prompt_fade_setup	2008-12-18 20:33:55.000000000 -0500
@@ -7,7 +7,7 @@
   cat <<EOH
 This prompt is color-scheme-able.  You can invoke it thus:
 
-  prompt fade [<fade-bar-and-cwd> [<userhost> [<date>]]] 
+  prompt fade [8bit] [<fade-bar-and-cwd> [<userhost> [<date>]]] 
 
 where the parameters are the colors for the fade-bar and current
 working directory, user@host text, and date text respectively.  The
@@ -27,9 +27,12 @@
   local userhost=${2:-'white'}
   local date=${3:-'white'}
 
+  if [[ $1 == '8bit' ]]; then
+  shift
   local -A schars
   autoload -Uz prompt_special_chars
   prompt_special_chars
+  fi
 
   PS1="%F{$fadebar_cwd}%B%K{$fadebar_cwd}$schars[333]$schars[262]$schars[261]$schars[260]%F{$userhost}%K{$fadebar_cwd}%B%n@%m%b%F{$fadebar_cwd}%K{black}$schars[333]$schars[262]$schars[261]$schars[260]%F{$date}%K{black}%B %D{%a %b %d} %D{%I:%M:%S%P} $prompt_newline%F{fadebar_cwd}%K{black}%B%~/%b%k%f "
   PS2="%F{$fadebar_cwd}%K{black}$schars[333]$schars[262]$schars[261]$schars[260]%f%k>"
diff -ru zsh-4.3.9-orig/Functions/Prompts/prompt_fire_setup zsh-4.3.9/Functions/Prompts/prompt_fire_setup
--- zsh-4.3.9-orig/Functions/Prompts/prompt_fire_setup	2008-07-14 10:04:18.000000000 -0400
+++ zsh-4.3.9/Functions/Prompts/prompt_fire_setup	2008-12-18 20:34:04.000000000 -0500
@@ -8,7 +8,7 @@
   cat <<EOH
 This prompt is color-scheme-able.  You can invoke it thus:
 
-  prompt fire [<fire1> [<fire2> [<fire3> [<userhost> [<date> [<cwd>]]]]]]
+  prompt fire [8bit] [<fire1> [<fire2> [<fire3> [<userhost> [<date> [<cwd>]]]]]]
 
 where the parameters are the three fire colors, and the colors for the
 user@host text, date text, and current working directory respectively.
@@ -29,9 +29,12 @@
   local date=${5:-'white'}
   local cwd=${6:-'yellow'}
 
+  if [[ $1 == '8bit' ]]; then
+  shift
   local -a schars
   autoload -Uz prompt_special_chars
   prompt_special_chars
+  fi
 
   local GRAD1="%{$schars[333]$schars[262]$schars[261]$schars[260]%}"
   local GRAD2="%{$schars[260]$schars[261]$schars[262]$schars[333]%}"