2015-09-14 11:00:19 +00:00
|
|
|
diff --git a/Functions/Prompts/prompt_bigfade_setup b/Functions/Prompts/prompt_bigfade_setup
|
|
|
|
index 2d95f31..f2f27f4 100644
|
|
|
|
--- a/Functions/Prompts/prompt_bigfade_setup
|
|
|
|
+++ b/Functions/Prompts/prompt_bigfade_setup
|
|
|
|
@@ -7,7 +7,7 @@ prompt_bigfade_help () {
|
2007-12-04 01:52:02 +00:00
|
|
|
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
|
2015-09-14 11:00:19 +00:00
|
|
|
@@ -27,9 +27,12 @@ prompt_bigfade_setup () {
|
2007-12-04 01:52:02 +00:00
|
|
|
local date=${3:-'white'}
|
|
|
|
local cwd=${4:-'yellow'}
|
|
|
|
|
|
|
|
+ if [[ $1 == '8bit' ]]; then
|
2008-08-25 20:33:57 +00:00
|
|
|
+ shift
|
2008-12-20 17:22:44 +00:00
|
|
|
local -A schars
|
|
|
|
autoload -Uz prompt_special_chars
|
2008-08-25 20:33:57 +00:00
|
|
|
prompt_special_chars
|
2007-12-04 01:52:02 +00:00
|
|
|
+ fi
|
|
|
|
|
2014-11-10 14:31:30 +00:00
|
|
|
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}%d>%b%f%k "
|
2008-12-20 17:22:44 +00:00
|
|
|
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 "
|
2015-09-14 11:00:19 +00:00
|
|
|
diff --git a/Functions/Prompts/prompt_elite2_setup b/Functions/Prompts/prompt_elite2_setup
|
|
|
|
index 754bf60..0006665 100644
|
|
|
|
--- a/Functions/Prompts/prompt_elite2_setup
|
|
|
|
+++ b/Functions/Prompts/prompt_elite2_setup
|
|
|
|
@@ -6,7 +6,7 @@ prompt_elite2_help () {
|
2007-12-04 01:52:02 +00:00
|
|
|
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.
|
2015-09-14 11:00:19 +00:00
|
|
|
@@ -21,9 +21,12 @@ prompt_elite2_setup () {
|
2007-12-04 01:52:02 +00:00
|
|
|
local text_col=${1:-'cyan'}
|
|
|
|
local parens_col=${2:-$text_col}
|
|
|
|
|
|
|
|
+ if [[ $1 == '8bit' ]]; then
|
2008-08-25 20:33:57 +00:00
|
|
|
+ shift
|
2008-12-20 17:22:44 +00:00
|
|
|
local -A schars
|
|
|
|
autoload -Uz prompt_special_chars
|
2008-08-25 20:33:57 +00:00
|
|
|
prompt_special_chars
|
2007-12-04 01:52:02 +00:00
|
|
|
+ fi
|
|
|
|
|
2008-12-20 17:22:44 +00:00
|
|
|
local text="%b%F{$text_col}"
|
|
|
|
local parens="%B%F{$parens_col}"
|
2015-09-14 11:00:19 +00:00
|
|
|
diff --git a/Functions/Prompts/prompt_elite_setup b/Functions/Prompts/prompt_elite_setup
|
|
|
|
index 0d57f50..e4b3fb1 100644
|
|
|
|
--- a/Functions/Prompts/prompt_elite_setup
|
|
|
|
+++ b/Functions/Prompts/prompt_elite_setup
|
|
|
|
@@ -6,7 +6,7 @@ prompt_elite_help () {
|
2007-12-04 01:52:02 +00:00
|
|
|
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.
|
2015-09-14 11:00:19 +00:00
|
|
|
@@ -21,9 +21,12 @@ prompt_elite_setup () {
|
2007-12-04 01:52:02 +00:00
|
|
|
local text=${1:-'red'}
|
|
|
|
local punctuation=${2:-'blue'}
|
|
|
|
|
|
|
|
+ if [[ $1 == '8bit' ]]; then
|
2008-08-25 20:33:57 +00:00
|
|
|
+ shift
|
2008-12-20 17:22:44 +00:00
|
|
|
local -A schars
|
|
|
|
autoload -Uz prompt_special_chars
|
2008-08-25 20:33:57 +00:00
|
|
|
prompt_special_chars
|
2007-12-04 01:52:02 +00:00
|
|
|
+ fi
|
|
|
|
|
2008-12-20 17:22:44 +00:00
|
|
|
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"
|
2007-12-04 01:52:02 +00:00
|
|
|
PS2="> "
|
2015-09-14 11:00:19 +00:00
|
|
|
diff --git a/Functions/Prompts/prompt_fade_setup b/Functions/Prompts/prompt_fade_setup
|
|
|
|
index d915cc0..ddd0162 100644
|
|
|
|
--- a/Functions/Prompts/prompt_fade_setup
|
|
|
|
+++ b/Functions/Prompts/prompt_fade_setup
|
|
|
|
@@ -7,7 +7,7 @@ prompt_fade_help () {
|
2007-12-04 01:52:02 +00:00
|
|
|
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
|
2015-09-14 11:00:19 +00:00
|
|
|
@@ -27,9 +27,12 @@ prompt_fade_setup () {
|
2007-12-04 01:52:02 +00:00
|
|
|
local userhost=${2:-'white'}
|
|
|
|
local date=${3:-'white'}
|
|
|
|
|
|
|
|
+ if [[ $1 == '8bit' ]]; then
|
2008-08-25 20:33:57 +00:00
|
|
|
+ shift
|
2008-12-20 17:22:44 +00:00
|
|
|
local -A schars
|
|
|
|
autoload -Uz prompt_special_chars
|
2008-08-25 20:33:57 +00:00
|
|
|
prompt_special_chars
|
2007-12-04 01:52:02 +00:00
|
|
|
+ fi
|
|
|
|
|
2014-11-10 14:31:30 +00:00
|
|
|
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 "
|
2008-12-20 17:22:44 +00:00
|
|
|
PS2="%F{$fadebar_cwd}%K{black}$schars[333]$schars[262]$schars[261]$schars[260]%f%k>"
|
2015-09-14 11:00:19 +00:00
|
|
|
diff --git a/Functions/Prompts/prompt_fire_setup b/Functions/Prompts/prompt_fire_setup
|
|
|
|
index 7bb8367..3217980 100644
|
|
|
|
--- a/Functions/Prompts/prompt_fire_setup
|
|
|
|
+++ b/Functions/Prompts/prompt_fire_setup
|
|
|
|
@@ -8,7 +8,7 @@ prompt_fire_help () {
|
2007-12-04 01:52:02 +00:00
|
|
|
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.
|
2015-09-14 11:00:19 +00:00
|
|
|
@@ -29,9 +29,12 @@ prompt_fire_setup () {
|
2007-12-04 01:52:02 +00:00
|
|
|
local date=${5:-'white'}
|
|
|
|
local cwd=${6:-'yellow'}
|
|
|
|
|
|
|
|
+ if [[ $1 == '8bit' ]]; then
|
2008-08-25 20:33:57 +00:00
|
|
|
+ shift
|
2008-12-20 17:22:44 +00:00
|
|
|
local -a schars
|
|
|
|
autoload -Uz prompt_special_chars
|
2008-08-25 20:33:57 +00:00
|
|
|
prompt_special_chars
|
2007-12-04 01:52:02 +00:00
|
|
|
+ fi
|
|
|
|
|
2008-12-20 17:22:44 +00:00
|
|
|
local GRAD1="%{$schars[333]$schars[262]$schars[261]$schars[260]%}"
|
|
|
|
local GRAD2="%{$schars[260]$schars[261]$schars[262]$schars[333]%}"
|