diff options
author | Mikael Magnusson <mikachu@gmail.com> | 2020-12-05 19:23:17 +0100 |
---|---|---|
committer | Mikael Magnusson <mikachu@gmail.com> | 2020-12-05 19:25:57 +0100 |
commit | 42b5371d7013ae581ee6095c5922ed8588446a96 (patch) | |
tree | c6e99bbac86f1fe9f12052536f04823b305e0beb /Misc | |
parent | 74f4cbfcb606da1727ccc3db4f64fd7bae242594 (diff) | |
download | zsh-42b5371d7013ae581ee6095c5922ed8588446a96.tar.gz zsh-42b5371d7013ae581ee6095c5922ed8588446a96.tar.xz zsh-42b5371d7013ae581ee6095c5922ed8588446a96.zip |
unposted: vcs_info-examples: Fix condition
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/vcs_info-examples | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Misc/vcs_info-examples b/Misc/vcs_info-examples index 6cf87f5f8..94b8a7b5e 100644 --- a/Misc/vcs_info-examples +++ b/Misc/vcs_info-examples @@ -55,7 +55,7 @@ precmd() { # is (as with the other examples above too) just an example of a very # basic single-line prompt. See "man zshmisc" for details on how to # make this less readable. :-) - if [[ -n ${vcs_info_msg_0_} ]]; then + if [[ -z ${vcs_info_msg_0_} ]]; then # Oh hey, nothing from vcs_info, so we got more space. # Let's print a longer part of $PWD... PS1="%5~%# " |