On Thu, 04 Jul 2013 16:57:31 +0000
Jason Hood <[email protected]> wrote:

> works with -P, and allows environment variable GTAGSCOLOR for -C).

How about making new environment variable GLOBAL_OPTIONS instead of
GTAGSCOLOR? It is similar to GREP_OPTIONS of grep(1). You can use
it as follows.

        $ export GLOBAL_OPTIONS='--color'
        $ global -x main        # executed as 'global --color -x main'

It can be used for other uses.

        $ export GLOBAL_OPTIONS='--path-style=shorter --basic-regexp 
--ignore-case'

-- 
Shigio YAMAGUCHI <[email protected]>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3

_______________________________________________
Bug-global mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-global

Reply via email to