X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=states%2Fzsh%2Ffiles%2Fzshrc;h=365ca41e9a7b52bfbb650d4aa6e14bd29a49e84b;hb=7b6a6eb17aa05797814d09f98daa3eb572ef33e7;hp=6fe4aafd4d01e20eef19068a05b8cbbaee1b0cec;hpb=dd0b905788ae2041f7eb8d6c18220e59d951c5f7;p=max%2Fsaltfiles.git diff --git a/states/zsh/files/zshrc b/states/zsh/files/zshrc index 6fe4aaf..365ca41 100644 --- a/states/zsh/files/zshrc +++ b/states/zsh/files/zshrc @@ -46,8 +46,10 @@ zstyle ':vcs_info:*' enable git # or use pre_cmd, see man zshcontrib precmd() { - echo vcs_info + if [[ -n ${vcs_info_msg_0_} ]]; then + echo + fi } prompt='$vcs_info_msg_0_'