From fb63795d4cf5c8282890994d53c580a1bb69f780 Mon Sep 17 00:00:00 2001 From: Mario Fernandez Date: Mon, 18 Jul 2011 21:15:26 +0200 Subject: [PATCH] limit current directory length --- themes/sirech.zsh-theme | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/sirech.zsh-theme b/themes/sirech.zsh-theme index ca7b6d8be..e472697f3 100644 --- a/themes/sirech.zsh-theme +++ b/themes/sirech.zsh-theme @@ -5,7 +5,7 @@ local return_code="%(?..%{$fg_bold[red]%}%? ↵%{$reset_color%})" -PROMPT='%{$fg_bold[green]%}%n@%m%{$reset_color%} %{$fg_bold[cyan]%}${PWD/#$HOME/~}%{$reset_color%} $(git_prompt_info)%{$reset_color%}%B»%b ' +PROMPT='%{$fg_bold[green]%}%n@%m%{$reset_color%} %{$fg_bold[cyan]%}%35<..<${PWD/#$HOME/~}%<<%{$reset_color%} $(git_prompt_info)%{$reset_color%}%B»%b ' RPS1="${return_code}" ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[yellow]%}("