mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-24 04:22:55 +08:00
a7af415b6a
functions/grep.fish will set the GREP_OPTIONS, which will ruin sgrep's effort.
6 lines
115 B
Fish
6 lines
115 B
Fish
|
|
function sgrep -d "Call grep without honoring GREP_OPTIONS settings"
|
|
set -l GREP_OPTIONS
|
|
command grep $argv
|
|
end
|