]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
zsh/rc: Minor documentation update.
authorSimon Ruderich <simon@ruderich.org>
Fri, 23 Apr 2010 10:20:37 +0000 (12:20 +0200)
committerSimon Ruderich <simon@ruderich.org>
Fri, 23 Apr 2010 10:20:37 +0000 (12:20 +0200)
zsh/rc

diff --git a/zsh/rc b/zsh/rc
index c0a453e4b01e026f6e10f4f4e95f567822d8c414..73cf71ac16d0ad4d0ed33e3fbb273f9fa9ccde13 100644 (file)
--- 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]}%}"