summaryrefslogtreecommitdiff
path: root/etc/prompt
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-10-19 11:41:06 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-10-19 11:41:06 +0200
commit341cf98a257b6e3ca210f0f5b0f38c720b559f48 (patch)
treece4bd184dc6061c5e0477f8300bf48ed43043873 /etc/prompt
parent30d64b369660bf3dbad4ab71fba6e3ba30e56602 (diff)
etc/prompt: Don't use zchar
Diffstat (limited to 'etc/prompt')
-rw-r--r--etc/prompt2
1 files changed, 1 insertions, 1 deletions
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\\%}'