Add -g option.

ref: https://github.com/zimbatm/direnv/pull/138