Remove is-true function

that was only being used in the `git` and `git-info` modules to check
the output of `git rev-parse --is-inside-work-tree`. The code depending
on this function was already changed.

Closes #163
This commit is contained in:
Eric Nielsen 2017-04-11 13:15:10 -05:00 committed by Matt Hamilton
parent b34a75e4d8
commit 9de30b97b1

View file

@ -1,3 +0,0 @@
# Checks a boolean variable for "true".
# Case insensitive: "1", "y", "yes", "t", "true", "o", and "on".
[[ -n ${1} && ${1} == (1|[Yy]([Ee][Ss]|)|[Tt]([Rr][Uu][Ee]|)|[Oo]([Nn]|)) ]]