Don't use GREP_OPTIONS in 'contains' function - this is a modified version of a patch by David Bitseff

darcs-hash:20061126131150-ac50b-640bfaf2c3a4111809d9091631b79e35005e68b5.gz
This commit is contained in:
axel 2006-11-26 23:11:50 +10:00
parent 1f6a98ecb8
commit 32502bfac8

View file

@ -32,6 +32,9 @@ function contains -d (N_ "Test if a key is contained in a set of values")
set -- key $argv[1]
set -e argv[1]
# Don't use any grep options!
set -l GREP_OPTIONS
#
# Loop through values
#