summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-09-07 18:08:10 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-09-07 18:08:10 +0200
commit27206264a140feaa36ae69bcef97bd4f3c233e8c (patch)
tree8e5666e8c668b3f7a7aca7005fe405c57a90bf11
parent78d291d6d1eddf72bf42f97401bdbc48b28b257d (diff)
prompt: Truncate long directory names
-rw-r--r--etc/prompt2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/prompt b/etc/prompt
index 22c8a7b..74a8029 100644
--- a/etc/prompt
+++ b/etc/prompt
@@ -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}"