Browse Source

Add a missing article in a comment

master
Sorin Ionescu 12 years ago
parent
commit
cca942ea0b
  1. 2
      helper.zsh

2
helper.zsh

@ -5,7 +5,7 @@ @@ -5,7 +5,7 @@
# 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".
function is-true {
[[ -n "$1" && "$1" == (1|[Yy]([Ee][Ss]|)|[Tt]([Rr][Uu][Ee]|)|[Oo]([Nn]|)) ]]

Loading…
Cancel
Save