mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-27 14:45:13 +08: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,5 +1,5 @@
|
|||||||
|
|
||||||
function sgrep -d "Call grep without honoring GREP_OPTIONS settings"
|
function sgrep -d "Call grep without honoring GREP_OPTIONS settings"
|
||||||
set -l GREP_OPTIONS
|
set -l GREP_OPTIONS
|
||||||
grep $argv
|
command grep $argv
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user