From cf4e5820c0822c262ead8483a28a506c23162673 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Wed, 18 Feb 2015 13:36:38 -0500 Subject: Truncate RPROMPT with negative length --- .zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.zshrc') diff --git a/.zshrc b/.zshrc index a16ceeca..551033da 100644 --- a/.zshrc +++ b/.zshrc @@ -37,7 +37,7 @@ _prompt_git_branch() { esac } PROMPT='%{%(?.$fg[green]$_prompt_ssh_color.$fg[red])%}»%{$reset_color%} ' -RPROMPT='%{$fg[blue]%}%30<…<%~%{$fg[yellow]%}$(_prompt_git_branch)%{$reset_color%}' +RPROMPT='%{$fg[blue]%}%-50<…<%~%{$fg[yellow]%}$(_prompt_git_branch)%{$reset_color%}' # Set title to directory name at prompt, prefixed with hostname over SSH. Add # current command to title while running. -- cgit 1.4.1