fish-shell/share/functions/sgrep.fish
Grissiom a7af415b6a call original grep in sgrep
functions/grep.fish will set the GREP_OPTIONS, which will ruin sgrep's
effort.
2010-09-19 13:56:30 +08:00

5 lines
115 B
Fish

function sgrep -d "Call grep without honoring GREP_OPTIONS settings"
set -l GREP_OPTIONS
command grep $argv
end