X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=zsh%2Frc;h=73cf71ac16d0ad4d0ed33e3fbb273f9fa9ccde13;hb=e516e20937e39bfc14b7b8481a435f72c3415a87;hp=c0a453e4b01e026f6e10f4f4e95f567822d8c414;hpb=540cf92ba3e8be1db292e74b7f27470f3597a6aa;p=config%2Fdotfiles.git 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]}%}"