mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-10 23:24:39 +00:00
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:
parent
1f6a98ecb8
commit
32502bfac8
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
#
|
||||
|
|
Loading…
Reference in a new issue