From 5ef5260128becce09ba1f6ddcc5395892cba3ff2 Mon Sep 17 00:00:00 2001 From: Frank Terbeck Date: Wed, 6 Mar 2013 12:42:52 +0100 Subject: [PATCH] zshrc: Use %# instead of %% for the `percent' token in the prompt The "%%" puts a percent sign unconditionally, but we only want the percent for non-root users. root should still have the "#" sign. This is the fix for that. Signed-off-by: Frank Terbeck --- etc/zsh/zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index 5168e8d..7eb4e76 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -1495,7 +1495,7 @@ grml_prompt_token_default=( jobs '[%j running job(s)] ' newline $'\n' path '%40<..<%~%<< ' - percent '%% ' + percent '% # ' rc '%(?..%? )' rc-always '%?' sad-smiley '%(?..:()' -- 2.1.4