forked from misc/zsh-config
More colorizing :)
$p_path is not needed in p_path itself. Logins watching timeout lowered to 5.
This commit is contained in:
parent
7d28ae2d47
commit
a823cc4772
@ -49,19 +49,17 @@ prompt_pztrn_setup () {
|
|||||||
|
|
||||||
p_shlvlhist="$vars['brackets_start']$vars['default_color']%B%h%b$vars['brackets_end']"
|
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_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_path="$vars['brackets_start']$vars['default_color'] %d $vars['brackets_end']"
|
||||||
|
|
||||||
p_vcs="${VCS}"
|
|
||||||
|
|
||||||
PROMPT="$p_date$p_tty$p_plat$p_userpwd$p_shlvlhist$p_rc
|
PROMPT="$p_date$p_tty$p_plat$p_userpwd$p_shlvlhist$p_rc
|
||||||
$vars['console']$p_path $p_end"
|
$vars['console']$p_path $p_end"
|
||||||
PS2='%(4_.\.)%3_> %E'
|
PS2='%(4_.\.)%3_> %E'
|
||||||
|
|
||||||
watch=all
|
watch=all
|
||||||
logcheck=10
|
logcheck=5
|
||||||
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']"
|
WATCHFMT="$vars['default_color']%n$reset_color from $fg[magenta]%M$reset_color has $vars['default_color']%a$reset_color (%l) at %T %W"
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user