Skip to content

Commit

Permalink
Don't use GREP_OPTIONS in 'contains' function - this is a modified ve…
Browse files Browse the repository at this point in the history
…rsion of a patch by David Bitseff

darcs-hash:20061126131150-ac50b-640bfaf2c3a4111809d9091631b79e35005e68b5.gz
  • Loading branch information
liljencrantz committed Nov 26, 2006
1 parent 1f6a98e commit 32502bf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions share/functions/contains.fish
Original file line number Diff line number Diff line change
Expand Up @@ -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
#
Expand Down

0 comments on commit 32502bf

Please sign in to comment.