summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-08-24 12:14:45 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-08-24 12:14:45 +0200
commite2e516e778dd0474e71b8bdcbe86cbc5c02139d3 (patch)
treee1c521906272f5991d41c412f9caad347b9c8379
parent96a879fd48f32b44ea20cfaa6176841a613f1ae2 (diff)
Updated prompt
PS1: Replaced depracated %c by %1~ PS4: Use colors and unicode
-rw-r--r--etc/prompt6
1 files changed, 4 insertions, 2 deletions
diff --git a/etc/prompt b/etc/prompt
index 9633b72..83ebd55 100644
--- a/etc/prompt
+++ b/etc/prompt
@@ -2,5 +2,7 @@
## vim:ft=zsh
# RPS1 is on the right side of the terminal
# The \ek\e\\ is for screen's 'shelltitle'
-export PS1="${ps_yellow}%n@%m${ps_reset} %c %(!.${ps_red}#.${ps_green}>)${ps_reset} "$'%{\ek\e\\%}'
-export RPS1="${ps_yellow}[${ps_info}%1v${ps_yellow}%T]${ps_reset}"
+PS1="${ps_yellow}%n@%m${ps_reset} %1~ %(!.${ps_red}#.${ps_green}>)${ps_reset} "$'%{\ek\e\\%}'
+RPS1="${ps_yellow}[${ps_info}%1v${ps_yellow}%T]${ps_reset}"
+
+PS4="${ps_info}%N${ps_reset}:${ps_yellow}%i${ps_reset}│"