diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2008-08-24 12:14:45 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2008-08-24 12:14:45 +0200 |
commit | e2e516e778dd0474e71b8bdcbe86cbc5c02139d3 (patch) | |
tree | e1c521906272f5991d41c412f9caad347b9c8379 /etc/prompt | |
parent | 96a879fd48f32b44ea20cfaa6176841a613f1ae2 (diff) |
Updated prompt
PS1: Replaced depracated %c by %1~
PS4: Use colors and unicode
Diffstat (limited to 'etc/prompt')
-rw-r--r-- | etc/prompt | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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}│" |