From 341cf98a257b6e3ca210f0f5b0f38c720b559f48 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 19 Oct 2008 11:41:06 +0200 Subject: etc/prompt: Don't use zchar --- etc/prompt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc/prompt') diff --git a/etc/prompt b/etc/prompt index 749b4ae..4fc7036 100644 --- a/etc/prompt +++ b/etc/prompt @@ -11,7 +11,7 @@ at="@" host="${ps_yellow}%m" dir="${ps_reset}%30<…<%2v%>>" (( EUID )) && ps_sign=$ps_green || ps_sign=$ps_red -sign="%(!.$(zchar prompt-root).$(zchar prompt-user))" +sign="%(!.#.>)" sign="${ps_sign}%(?.${sign}.%?)${ps_reset}" screen=$'%{\ek\e\\%}' -- cgit v1.2.3