mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-15 23:22:53 +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"
|
||||
set -l GREP_OPTIONS
|
||||
grep $argv
|
||||
end
|
||||
command grep $argv
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user