From 3140ebd0f5f6110ec8ba2b271be8595393b59aca Mon Sep 17 00:00:00 2001 From: Hugues Hiegel Date: Thu, 14 May 2009 14:33:08 +0200 Subject: [Colors] simplification of PS1_USER colors, and moved them into Environment --- 11_Colors.zsh | 20 -------------------- 1 file changed, 20 deletions(-) (limited to '11_Colors.zsh') diff --git a/11_Colors.zsh b/11_Colors.zsh index 43c488b..63c20e2 100644 --- a/11_Colors.zsh +++ b/11_Colors.zsh @@ -9,26 +9,6 @@ ## typeset -A prompt_colors git_colors mail_colors correct_colors battery_colors date_colors agent_colors -# I hate kik00l0l colorized prompts, so I'm using a way to -# give a dominant color for each part of the prompt, each of -# these remain still configurable one by one. -# Take a look to set_prompt_colors for these colorizations. -# -# To set the dominant color I'm using this : -# -# - PS1_ROOT when we are root -# - PS1_USER for normal usage -# - PS1_USER_SSH when we are connected through SSH -# -# I'm storing the resulting dominant color in $prompt_colors[generic] - -PS1_ROOT=${PS1_ROOT:-$color[red]} -PS1_USER=${PS1_USER:-$color[blue]} -PS1_SUDO=${PS1_SUDO:-$color[green]} -PS1_USER_SSH=${PS1_USER_SSH:-$color[magenta]} -#PS1_USER_SCR=${PS1_USER_SCR:-$color[cyan]} -PS1_USER_SCR=$PS1_USER - correct_colors[error]="$color[red];$color[bold]" correct_colors[suggest]="$color[blue];$color[bold]" -- cgit v1.2.3