diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2008-09-07 18:08:10 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2008-09-07 18:08:10 +0200 |
commit | 27206264a140feaa36ae69bcef97bd4f3c233e8c (patch) | |
tree | 8e5666e8c668b3f7a7aca7005fe405c57a90bf11 | |
parent | 78d291d6d1eddf72bf42f97401bdbc48b28b257d (diff) |
prompt: Truncate long directory names
-rw-r--r-- | etc/prompt | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2,5 +2,5 @@ ## vim:ft=zsh # RPS1 is on the right side of the terminal # The \ek\e\\ is for screen's 'shelltitle' -PS1="${ps_yellow}%n@%m${ps_reset} %1~ %(!.${ps_red}#.${ps_green}>)${ps_reset} "$'%{\ek\e\\%}' +PS1="${ps_yellow}%n@%m${ps_reset} %25>…>%1~%>> %(!.${ps_red}#.${ps_green}>)${ps_reset} "$'%{\ek\e\\%}' RPS1="${ps_yellow}[${ps_info}%1v${ps_yellow}%T]${ps_reset}" |