X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=zsh%2Frc;h=1d61d6e0090f06dbeac96db5b0c009cecfbe03c3;hb=d80ed1b80a1edd0a9f2aa5525e9ca57f360aad54;hp=c0a453e4b01e026f6e10f4f4e95f567822d8c414;hpb=06435c8a9f18b894ad9ab9d6363992c50b48314c;p=config%2Fdotfiles.git diff --git a/zsh/rc b/zsh/rc index c0a453e..1d61d6e 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]}%}" @@ -270,7 +271,7 @@ if [[ $TERM == screen* || $TERM == xterm* || $TERM == rxvt* ]]; then m) program_name=mutt ;; - v|vi) + v) program_name=vim ;; esac