Hugo Osvaldo Barrera
427a7118ac
Only add --color to grep's alias if that option is valid.
...
The option `--color` is not available on all versions of grep. This change
verifies that the option is valid before adding it to the alias used by
default.
2015-02-02 13:14:39 -03:00
Ondřej Súkup
dd27087805
Change to alias and remove deprecated GREP_COLOR
2014-12-13 19:57:23 +01:00
Marc Cornellà
711843153d
Tidy up the grep.zsh library
2014-12-13 19:52:49 +01:00
Marc Cornellà
0190eb084b
Use unaliased grep in flag check
2014-12-13 19:45:04 +01:00
Marc Cornellà
cf586b54b8
Ignore .bzr folders in grep too
2014-12-13 19:45:02 +01:00
Marc Cornellà
0bd3c9996f
Extract VCS folders definition to avoid repetition
2014-12-13 19:44:38 +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