call original grep in sgrep

functions/grep.fish will set the GREP_OPTIONS, which will ruin sgrep's
effort.
This commit is contained in:
Grissiom 2010-09-19 13:56:30 +08:00
parent f8a5a59513
commit a7af415b6a

View file

@ -1,5 +1,5 @@
function sgrep -d "Call grep without honoring GREP_OPTIONS settings"
set -l GREP_OPTIONS
grep $argv
command grep $argv
end