summaryrefslogtreecommitdiff
path: root/vcs
diff options
context:
space:
mode:
authorTslil Clingman <hiato1@gmail.com>2013-08-31 17:50:30 +0200
committerTslil Clingman <hiato1@gmail.com>2013-08-31 17:50:30 +0200
commit44365dab5497638deb7eccb4a3266e4eeafbf26a (patch)
tree3cba029e19b8c8a276de12004030af24e9534324 /vcs
parentf2b32d25177be465c7209072eb93ae14fc16dfa3 (diff)
tweaks
Diffstat (limited to 'vcs')
-rwxr-xr-xvcs4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcs b/vcs
index aee37cf..e77c7e9 100755
--- a/vcs
+++ b/vcs
@@ -40,8 +40,8 @@ else if [[ -d "_darcs" || -d "../_darcs" || -d "../../_darcs" ]]; then
fi;
done;
news=$(darcs what)$
- check $news "^No changes!$"
- [[ ! $? = 0 ]] && VCS_REC=$rstr
+ check $news "^No changes"
+ [[ $? = 0 ]] || VCS_REC=$rstr
fi; fi;
[[ ! "$VCS_STR" = "" ]] && echo "%F{green}$VCS_STR%f{%F{blue}$VCS_INF%f$VCS_REC$VCS_MOD$VCS_NEW}"