# Fix nushell local env detection by using direnv export \(\#13902\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/8abc000553c14918f977066b7837d6b9ee5ee3ce)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 8abc000553c14918f977066b7837d6b9ee5ee3ce

Requested commit: 8abc000553c14918f977066b7837d6b9ee5ee3ce

Commit: 8abc000553c14918f977066b7837d6b9ee5ee3ce

Tree: 33434654f34a7e84b2f35b9b68586e61b64b2995

Author: Stanislav Alekseev

Committer: GitHub

## Message

```
Fix nushell local env detection by using direnv export (#13902)

I don't intend fully on getting this merged, this is just an experiment
on using `direnv` directly without relying on shell-specific behaviours.
It works though, so this finally closes #8633
Release Notes:

- Fixed nushell not picking up `direnv` environments by directly
interfacing with it using `direnv export`

---------

Co-authored-by: Thorsten Ball <mrnugget@gmail.com>
```

## Parents

- [9f5309ceddf3d17ca7ca0bb96f0765d1e575fb58](https://git.cafe/gitcafe/zed/commit/9f5309ceddf3d17ca7ca0bb96f0765d1e575fb58?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/8abc000553c14918f977066b7837d6b9ee5ee3ce?format=markdown)
