1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-12-23 12:36:47 +00:00

Add a missing article in a comment

This commit is contained in:
Sorin Ionescu 2012-04-10 23:15:19 -04:00
parent e81ad23346
commit cca942ea0b

View File

@ -5,7 +5,7 @@
# Sorin Ionescu <sorin.ionescu@gmail.com> # Sorin Ionescu <sorin.ionescu@gmail.com>
# #
# Checks boolean variable for "true". # Checks a boolean variable for "true".
# Case insensitive: "1", "y", "yes", "t", "true", "o", and "on". # Case insensitive: "1", "y", "yes", "t", "true", "o", and "on".
function is-true { function is-true {
[[ -n "$1" && "$1" == (1|[Yy]([Ee][Ss]|)|[Tt]([Rr][Uu][Ee]|)|[Oo]([Nn]|)) ]] [[ -n "$1" && "$1" == (1|[Yy]([Ee][Ss]|)|[Tt]([Rr][Uu][Ee]|)|[Oo]([Nn]|)) ]]