From e516e20937e39bfc14b7b8481a435f72c3415a87 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Fri, 23 Apr 2010 12:20:37 +0200 Subject: [PATCH] zsh/rc: Minor documentation update. --- zsh/rc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/zsh/rc b/zsh/rc index c0a453e..73cf71a 100644 --- a/zsh/rc +++ b/zsh/rc @@ -132,7 +132,8 @@ bindkey -a "^N" history-beginning-search-forward # Use colorized output, necessary for prompts and completions. autoload -U colors && colors -# Some shortcuts for colors. +# Some shortcuts for colors. The %{...%} tells zsh that the data in between +# doesn't need any space, necessary for correct prompt draw. local red="%{${fg[red]}%}" local blue="%{${fg[blue]}%}" local green="%{${fg[green]}%}" -- 2.45.2