From: Simon Ruderich Date: Fri, 23 Apr 2010 10:20:37 +0000 (+0200) Subject: zsh/rc: Minor documentation update. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=e516e20937e39bfc14b7b8481a435f72c3415a87;p=config%2Fdotfiles.git zsh/rc: Minor documentation update. --- 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]}%}"