mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
call original grep in sgrep
functions/grep.fish will set the GREP_OPTIONS, which will ruin sgrep's effort.
This commit is contained in:
parent
f8a5a59513
commit
a7af415b6a
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
|
||||
function sgrep -d "Call grep without honoring GREP_OPTIONS settings"
|
||||
set -l GREP_OPTIONS
|
||||
grep $argv
|
||||
end
|
||||
command grep $argv
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue