From a823cc4772d82ee22b4cab4f49e45f65dd31c9bf Mon Sep 17 00:00:00 2001 From: pztrn Date: Sun, 14 Dec 2014 04:33:45 +0500 Subject: [PATCH] More colorizing :) $p_path is not needed in p_path itself. Logins watching timeout lowered to 5. --- zsh/prompts/pztrn.zsh-theme | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/zsh/prompts/pztrn.zsh-theme b/zsh/prompts/pztrn.zsh-theme index 18341b4..b75a89f 100644 --- a/zsh/prompts/pztrn.zsh-theme +++ b/zsh/prompts/pztrn.zsh-theme @@ -49,19 +49,17 @@ prompt_pztrn_setup () { p_shlvlhist="$vars['brackets_start']$vars['default_color']%B%h%b$vars['brackets_end']" p_rc="%(?..$vars['brackets_start']$fg[red]%?%1v$vars['brackets_end'])" - p_end="%# " + p_end="$vars['usercolor']%#%{$reset_color%} " - p_path="$vars['brackets_start']$vars['default_color'] %d $p_path$vars['brackets_end']" - - p_vcs="${VCS}" + p_path="$vars['brackets_start']$vars['default_color'] %d $vars['brackets_end']" PROMPT="$p_date$p_tty$p_plat$p_userpwd$p_shlvlhist$p_rc $vars['console']$p_path $p_end" PS2='%(4_.\.)%3_> %E' watch=all - logcheck=10 - WATCHFMT="$vars['brackets_start']$vars['default_color']%n$reset_color from $fg[magenta]%M$reset_color has $vars['default_color']%a$reset_color (%l) at %T %W$vars['brackets_end']" + logcheck=5 + WATCHFMT="$vars['default_color']%n$reset_color from $fg[magenta]%M$reset_color has $vars['default_color']%a$reset_color (%l) at %T %W" }