Commit graph

5 commits

Author SHA1 Message Date
Marc Cornellà
ca4779402a Do not use GREP_OPTIONS to set grep parameters
From grep version 2.21, using environment variable `GREP_OPTIONS' to
set common parameters to grep calls is deprecated.

As an alternative, we use a custom function to pass in our defined
`GREP_OPTIONS`, while at the same time preserving any aliases that
called grep.

If we choose the alias way as suggested in the grep documentation,
we'll overwrite any already defined grep aliases, or get overwritten
by any subsequently defined user aliases.
2014-12-13 18:07:32 +01:00
Dmitriy
9385b3ee0a set exclude-dir or exclude grep flags only if available 2014-04-19 00:03:36 +04:00
Marc Cornellà
12e30faaca Fix export syntax of $GREP_OPTIONS
Fixes #2641, #2642
2014-03-23 02:09:38 +01:00
nXqd
4f9cfee9bd avoid VCS folders 2012-06-14 08:06:36 +03:00
Robby Russell
8debd097fb Moving all zsh config options into a lib/ subdirectory to make way for some upcoming changes to directory structure and configuration options 2009-09-23 07:43:36 -07:00
Renamed from grep.zsh (Browse further)