From e2e516e778dd0474e71b8bdcbe86cbc5c02139d3 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 24 Aug 2008 12:14:45 +0200 Subject: Updated prompt PS1: Replaced depracated %c by %1~ PS4: Use colors and unicode --- etc/prompt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'etc/prompt') 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}│" -- cgit v1.2.3