|
James Antill |
3e4841 |
diff -rup zsh-4.3.4-orig/Functions/Prompts/prompt_bigfade_setup zsh-4.3.4/Functions/Prompts/prompt_bigfade_setup
|
|
James Antill |
3e4841 |
--- zsh-4.3.4-orig/Functions/Prompts/prompt_bigfade_setup 2005-05-10 00:39:02.000000000 -0400
|
|
James Antill |
3e4841 |
+++ zsh-4.3.4/Functions/Prompts/prompt_bigfade_setup 2007-12-03 20:42:09.000000000 -0500
|
|
James Antill |
3e4841 |
@@ -7,7 +7,7 @@ prompt_bigfade_help () {
|
|
James Antill |
3e4841 |
cat <
|
|
James Antill |
3e4841 |
This prompt is color-scheme-able. You can invoke it thus:
|
|
James Antill |
3e4841 |
|
|
James Antill |
3e4841 |
- prompt bigfade [<fade-bar> [<userhost> [<date> [<cwd>]]]]
|
|
James Antill |
3e4841 |
+ prompt bigfade [8bit] [<fade-bar> [<userhost> [<date> [<cwd>]]]]
|
|
James Antill |
3e4841 |
|
|
James Antill |
3e4841 |
where the parameters are the colors for the fade-bar, user@host text,
|
|
James Antill |
3e4841 |
date text, and current working directory respectively. The default
|
|
James Antill |
3e4841 |
@@ -25,9 +25,12 @@ prompt_bigfade_setup () {
|
|
James Antill |
3e4841 |
local date=${3:-'white'}
|
|
James Antill |
3e4841 |
local cwd=${4:-'yellow'}
|
|
James Antill |
3e4841 |
|
|
James Antill |
3e4841 |
+ if [[ $1 == '8bit' ]]; then
|
|
James Antill |
3e4841 |
+ shift
|
|
James Antill |
3e4841 |
for code in 333 262 261 260; do
|
|
James Antill |
3e4841 |
local char_$code=$(echo -n "\\0$code")
|
|
James Antill |
3e4841 |
done
|
|
James Antill |
3e4841 |
+ fi
|
|
James Antill |
3e4841 |
|
|
James Antill |
3e4841 |
PS1="%{$bold_color$fg[$fadebar]$bold_color%}$char_333$char_262$char_261$char_260%{$bold_color$fg[$userhost]$bg[$fadebar]%}%n@%m%{$reset_color$fg[$fadebar]$bg[grey]%}$char_260$char_261$char_262$char_333%{$reset_color$fg[$fadebar]$bg[grey]%}$char_333$char_262$char_261$char_260%{$bold_color$fg[$date]$bg[grey]%} %D{%a %b %d} %D{%I:%M:%S%P}$prompt_newline%{$bold_color$fg[$cwd]$bg[grey]%}$PWD>%{$reset_color%} "
|
|
James Antill |
3e4841 |
PS2="%{$bold_color$fg[$fadebar]$bold_color%}$char_333$char_262$char_261$char_260%{$reset_color$fg[$fadebar]$bg[grey]%}$char_260$char_261$char_262$char_333%{$reset_color$fg[$fadebar]$bg[grey]%}$char_333$char_262$char_261$char_260%{$bold_color$bold_color$fg[$fadebar]%}>%{$reset_color%} "
|
|
James Antill |
3e4841 |
Only in zsh-4.3.4/Functions/Prompts: prompt_bigfade_setup~
|
|
James Antill |
3e4841 |
diff -rup zsh-4.3.4-orig/Functions/Prompts/prompt_elite2_setup zsh-4.3.4/Functions/Prompts/prompt_elite2_setup
|
|
James Antill |
3e4841 |
--- zsh-4.3.4-orig/Functions/Prompts/prompt_elite2_setup 2005-05-10 00:39:02.000000000 -0400
|
|
James Antill |
3e4841 |
+++ zsh-4.3.4/Functions/Prompts/prompt_elite2_setup 2007-12-03 20:41:14.000000000 -0500
|
|
James Antill |
3e4841 |
@@ -6,7 +6,7 @@ prompt_elite2_help () {
|
|
James Antill |
3e4841 |
cat <
|
|
James Antill |
3e4841 |
This prompt is color-scheme-able. You can invoke it thus:
|
|
James Antill |
3e4841 |
|
|
James Antill |
3e4841 |
- prompt elite2 [<text-color> [<parentheses-color>]]
|
|
James Antill |
3e4841 |
+ prompt elite2 [8bit] [<text-color> [<parentheses-color>]]
|
|
James Antill |
3e4841 |
|
|
James Antill |
3e4841 |
The default colors are both cyan. This theme works best with a dark
|
|
James Antill |
3e4841 |
background.
|
|
James Antill |
3e4841 |
@@ -20,9 +20,12 @@ prompt_elite2_setup () {
|
|
James Antill |
3e4841 |
local text_col=${1:-'cyan'}
|
|
James Antill |
3e4841 |
local parens_col=${2:-$text_col}
|
|
James Antill |
3e4841 |
|
|
James Antill |
3e4841 |
+ if [[ $1 == '8bit' ]]; then
|
|
James Antill |
3e4841 |
+ shift
|
|
James Antill |
3e4841 |
for code in 332 304 300; do
|
|
James Antill |
3e4841 |
local char_$code=$(echo -n "\\0$code")
|
|
James Antill |
3e4841 |
done
|
|
James Antill |
3e4841 |
+ fi
|
|
James Antill |
3e4841 |
|
|
James Antill |
3e4841 |
local text="%{$fg_no_bold[$text_col]%}"
|
|
James Antill |
3e4841 |
local parens="%{$fg_bold[$parens_col]%}"
|
|
James Antill |
3e4841 |
Only in zsh-4.3.4/Functions/Prompts: prompt_elite2_setup~
|
|
James Antill |
3e4841 |
diff -rup zsh-4.3.4-orig/Functions/Prompts/prompt_elite_setup zsh-4.3.4/Functions/Prompts/prompt_elite_setup
|
|
James Antill |
3e4841 |
--- zsh-4.3.4-orig/Functions/Prompts/prompt_elite_setup 2005-05-10 00:39:02.000000000 -0400
|
|
James Antill |
3e4841 |
+++ zsh-4.3.4/Functions/Prompts/prompt_elite_setup 2007-12-03 20:41:02.000000000 -0500
|
|
James Antill |
3e4841 |
@@ -6,7 +6,7 @@ prompt_elite_help () {
|
|
James Antill |
3e4841 |
cat <
|
|
James Antill |
3e4841 |
This prompt is color-scheme-able. You can invoke it thus:
|
|
James Antill |
3e4841 |
|
|
James Antill |
3e4841 |
- prompt elite [<text-color> [<punctuation-color>]]
|
|
James Antill |
3e4841 |
+ prompt elite [8bit] [<text-color> [<punctuation-color>]]
|
|
James Antill |
3e4841 |
|
|
James Antill |
3e4841 |
The default colors are red and blue respectively. This theme is
|
|
James Antill |
3e4841 |
intended for use with a black background.
|
|
James Antill |
3e4841 |
@@ -20,9 +20,12 @@ prompt_elite_setup () {
|
|
James Antill |
3e4841 |
local text=${1:-'red'}
|
|
James Antill |
3e4841 |
local punctuation=${2:-'blue'}
|
|
James Antill |
3e4841 |
|
|
James Antill |
3e4841 |
+ if [[ $1 == '8bit' ]]; then
|
|
James Antill |
3e4841 |
+ shift
|
|
James Antill |
3e4841 |
for code in 332 304 371 372 300; do
|
|
James Antill |
3e4841 |
local char_$code=$(echo -n "\\0$code")
|
|
James Antill |
3e4841 |
done
|
|
James Antill |
3e4841 |
+ fi
|
|
James Antill |
3e4841 |
|
|
James Antill |
3e4841 |
PS1="%{$fg[$text]%}$char_332$char_304%{$fg[$punctuation]%}(%{$fg[$text]%}%n%{$fg[$punctuation]%}@%{$fg[$text]%}%m%{$fg[$punctuation]%})%{$fg[$text]%}-%{$fg[$punctuation]%}(%{$fg[$text]%}%D{%I:%M%P}%{$fg[$punctuation]%}-:-%{$fg[$text]%}%D{%m}%{$fg[$punctuation]$fg[$text]%}/%D{%d}%{$fg[$punctuation]%})%{$fg[$text]%}$char_304-%{$fg[$punctuation]]%}$char_371%{$fg[$text]%}-$char_371$char_371%{$fg[$punctuation]%}$char_372$prompt_newline%{$fg[$text]%}$char_300$char_304%{$fg[$punctuation]%}(%{$fg[$text]%}%1~%{$fg[$punctuation]%})%{$fg[$text]%}$char_304$char_371%{$fg[$punctuation]%}$char_372%{$reset_color%}"
|
|
James Antill |
3e4841 |
PS2="> "
|
|
James Antill |
3e4841 |
Only in zsh-4.3.4/Functions/Prompts: prompt_elite_setup~
|
|
James Antill |
3e4841 |
diff -rup zsh-4.3.4-orig/Functions/Prompts/prompt_fade_setup zsh-4.3.4/Functions/Prompts/prompt_fade_setup
|
|
James Antill |
3e4841 |
--- zsh-4.3.4-orig/Functions/Prompts/prompt_fade_setup 2005-05-10 00:39:02.000000000 -0400
|
|
James Antill |
3e4841 |
+++ zsh-4.3.4/Functions/Prompts/prompt_fade_setup 2007-12-03 20:41:35.000000000 -0500
|
|
James Antill |
3e4841 |
@@ -7,7 +7,7 @@ prompt_fade_help () {
|
|
James Antill |
3e4841 |
cat <
|
|
James Antill |
3e4841 |
This prompt is color-scheme-able. You can invoke it thus:
|
|
James Antill |
3e4841 |
|
|
James Antill |
3e4841 |
- prompt fade [<fade-bar-and-cwd> [<userhost> [<date>]]]
|
|
James Antill |
3e4841 |
+ prompt fade [8bit] [<fade-bar-and-cwd> [<userhost> [<date>]]]
|
|
James Antill |
3e4841 |
|
|
James Antill |
3e4841 |
where the parameters are the colors for the fade-bar and current
|
|
James Antill |
3e4841 |
working directory, user@host text, and date text respectively. The
|
|
James Antill |
3e4841 |
@@ -27,9 +27,12 @@ prompt_fade_setup () {
|
|
James Antill |
3e4841 |
local userhost=${2:-'white'}
|
|
James Antill |
3e4841 |
local date=${3:-'white'}
|
|
James Antill |
3e4841 |
|
|
James Antill |
3e4841 |
+ if [[ $1 == '8bit' ]]; then
|
|
James Antill |
3e4841 |
+ shift
|
|
James Antill |
3e4841 |
for code in 333 262 261 260; do
|
|
James Antill |
3e4841 |
local char_$code=$(echo -n "\\0$code")
|
|
James Antill |
3e4841 |
done
|
|
James Antill |
3e4841 |
+ fi
|
|
James Antill |
3e4841 |
|
|
James Antill |
3e4841 |
PS1="%{$fg[$fadebar_cwd]$bg[$fadebar_cwd]$bold_color%}$char_333$char_262$char_261$char_260%{$fg[$userhost]$bg[$fadebar_cwd]$bold_color%}%n@%m%{$reset_color$fg[$fadebar_cwd]$bg[grey]%}$char_333$char_262$char_261$char_260%{$fg[$date]$bg[grey]$bold_color%} %D{%a %b %d} %D{%I:%M:%S%P} $prompt_newline%{$fg[$fadebar_cwd]$bg[grey]$bold_color%}%~/%{$reset_color%} "
|
|
James Antill |
3e4841 |
PS2="%{$fg[$fadebar_cwd]$bg[grey]%}$char_333$char_262$char_261$char_260%{$reset_color%}>"
|
|
James Antill |
3e4841 |
Only in zsh-4.3.4/Functions/Prompts: prompt_fade_setup~
|
|
James Antill |
3e4841 |
diff -rup zsh-4.3.4-orig/Functions/Prompts/prompt_fire_setup zsh-4.3.4/Functions/Prompts/prompt_fire_setup
|
|
James Antill |
3e4841 |
--- zsh-4.3.4-orig/Functions/Prompts/prompt_fire_setup 2005-05-10 00:39:02.000000000 -0400
|
|
James Antill |
3e4841 |
+++ zsh-4.3.4/Functions/Prompts/prompt_fire_setup 2007-12-03 20:41:26.000000000 -0500
|
|
James Antill |
3e4841 |
@@ -8,7 +8,7 @@ prompt_fire_help () {
|
|
James Antill |
3e4841 |
cat <
|
|
James Antill |
3e4841 |
This prompt is color-scheme-able. You can invoke it thus:
|
|
James Antill |
3e4841 |
|
|
James Antill |
3e4841 |
- prompt fire [<fire1> [<fire2> [<fire3> [<userhost> [<date> [<cwd>]]]]]]
|
|
James Antill |
3e4841 |
+ prompt fire [8bit] [<fire1> [<fire2> [<fire3> [<userhost> [<date> [<cwd>]]]]]]
|
|
James Antill |
3e4841 |
|
|
James Antill |
3e4841 |
where the parameters are the three fire colors, and the colors for the
|
|
James Antill |
3e4841 |
user@host text, date text, and current working directory respectively.
|
|
James Antill |
3e4841 |
@@ -28,9 +28,12 @@ prompt_fire_setup () {
|
|
James Antill |
3e4841 |
local date=${5:-'white'}
|
|
James Antill |
3e4841 |
local cwd=${6:-'yellow'}
|
|
James Antill |
3e4841 |
|
|
James Antill |
3e4841 |
+ if [[ $1 == '8bit' ]]; then
|
|
James Antill |
3e4841 |
+ shift
|
|
James Antill |
3e4841 |
for code in 333 262 261 260; do
|
|
James Antill |
3e4841 |
local char_$code=$(echo -n "\\0$code")
|
|
James Antill |
3e4841 |
done
|
|
James Antill |
3e4841 |
+ fi
|
|
James Antill |
3e4841 |
|
|
James Antill |
3e4841 |
local GRAD1="%{$char_333$char_262$char_261$char_260%}"
|
|
James Antill |
3e4841 |
local GRAD2="%{$char_260$char_261$char_262$char_333%}"
|
|
James Antill |
3e4841 |
Only in zsh-4.3.4/Functions/Prompts: prompt_fire_setup~
|