add direnv conditionally