mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-04 15:51:15 -03: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:
@@ -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
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user