mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-27 19:53:36 +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
|