taken from grml, fixing the percent sign
authorJoerg Jaspert <joerg@ganneff.de>
Fri, 22 Mar 2013 10:18:40 +0000 (11:18 +0100)
committerJoerg Jaspert <joerg@ganneff.de>
Fri, 22 Mar 2013 10:18:40 +0000 (11:18 +0100)
commit d9c3851ad99948d96e6faf12142dfcbfd4e0ee61
Author: Frank Terbeck <ft@grml.org>
Date:   Fri Mar 15 22:21:22 2013 +0100

    Fix `percent' token in the new prompt

    See also: 5ef5260128becce09ba1f6ddcc5395892cba3ff2

    This is a little embarrassing.

Reported-by: cstamas on #gmrl
Signed-off-by: Frank Terbeck <ft@grml.org>
.zsh/functions/prompt_ganneff_setup

index dff1405..0f6e052 100644 (file)
@@ -388,7 +388,7 @@ ${PR_SHIFT_IN}${PR_HBAR}${PR_CYAN}${PR_HBAR}${PR_SHIFT_OUT}${PR_NO_COLOR} '
         jobs              '[%j running job(s)] '
         newline           $'\n'
         path              '%40<..<%~%<<'
-        percent           '% # '
+        percent           '%# '
         rc                '%(?..%? )'
         rc-always         '%?'
         shell-level       '%(2L.%L.)'