diff options
author | Kyle Laker <kyle@laker.email> | 2020-07-01 13:05:53 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-01 19:05:53 +0200 |
commit | d24a9dbcccd03f4e1dd4549c94e9c3fe76d88f4b (patch) | |
tree | c19497b8acddb52c704fc991eaf649ad1dab2039 /themes/edvardm.zsh-theme | |
parent | 232cb19859ce9b0698ff8e281dc9e5d01b0aaf27 (diff) | |
download | zsh-d24a9dbcccd03f4e1dd4549c94e9c3fe76d88f4b.tar.gz zsh-d24a9dbcccd03f4e1dd4549c94e9c3fe76d88f4b.tar.bz2 zsh-d24a9dbcccd03f4e1dd4549c94e9c3fe76d88f4b.zip |
agnoster: fix git working tree check (#9072)
`git rev-parse --is-inside-work-tree` does not have a different exit
code when not within a work tree; the difference is in the output,
either "true" when in a work tree, or "false" when not.
The if was modified similarly to the check for the hide-status config,
which also parses command output rather than exit code.
Co-authored-by: Kyle Laker <klaker@easydynamics.com>
Diffstat (limited to 'themes/edvardm.zsh-theme')
0 files changed, 0 insertions, 0 deletions