diff --git a/envy.go b/envy.go
index <HASH>..<HASH> 100644
--- a/envy.go
+++ b/envy.go
@@ -68,8 +68,16 @@ func loadEnv() {
 	}
 }
 
+// Mods returns true if module support is enabled, false otherwise
+// See https://github.com/golang/go/wiki/Modules#how-to-install-and-activate-module-support for details
 func Mods() bool {
-	return Get(GO111MODULE, "off") == "on"
+	go111 := Get(GO111MODULE, "")
+
+	if !InGoPath() {
+		return go111 != "off"
+	}
+
+	return go111 == "on"
 }
 
 // Reload the ENV variables. Useful if
diff --git a/envy_test.go b/envy_test.go
index <HASH>..<HASH> 100644
--- a/envy_test.go
+++ b/envy_test.go
@@ -31,6 +31,10 @@ func Test_Mods(t *testing.T) {
 		r.False(Mods())
 		Set(GO111MODULE, "on")
 		r.True(Mods())
+		Set(GO111MODULE, "auto")
+		r.Equal(!InGoPath(), Mods())
+		Set(GO111MODULE, "")
+		r.Equal(!InGoPath(), Mods())
 	})
 }
envy.Mods() - Modify behavior to better match the current module autodetection in place in go (#<I>)

Add tests for GO<I>MODULE being set to auto or being left blank.