aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/functions
diff options
context:
space:
mode:
authorGravatar Grissiom <chaos.proton@gmail.com>2010-09-19 13:56:30 +0800
committerGravatar Grissiom <chaos.proton@gmail.com>2010-09-19 13:56:30 +0800
commita7af415b6a93e2699bec1082f56b3106d937a6cf (patch)
tree17ab940abf62e07ad99731e143d08b78f9f535ac /share/functions
parentf8a5a595134d2d3b52b4dd1e21be2ebc1f0ecaec (diff)
call original grep in sgrep
functions/grep.fish will set the GREP_OPTIONS, which will ruin sgrep's effort.
Diffstat (limited to 'share/functions')
-rw-r--r--share/functions/sgrep.fish4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/functions/sgrep.fish b/share/functions/sgrep.fish
index c3515787..77acc929 100644
--- a/share/functions/sgrep.fish
+++ b/share/functions/sgrep.fish
@@ -1,5 +1,5 @@
function sgrep -d "Call grep without honoring GREP_OPTIONS settings"
set -l GREP_OPTIONS
- grep $argv
-end \ No newline at end of file
+ command grep $argv
+end