# Fix shell environment not loading for Nushell \(\#7442\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 068c1415597fc1bcc71f5bc1f29dd039ae104245

Requested commit: 068c1415597fc1bcc71f5bc1f29dd039ae104245

Commit: 068c1415597fc1bcc71f5bc1f29dd039ae104245

Tree: 8eb50c3207f685d1adbac7dcd20a2c15db7eec2f

Author: Thorsten Ball

Committer: GitHub

## Message

```
Fix shell environment not loading for Nushell (#7442)

Turns out that Nushell doesn't like `-lic` and `&&`, but works perfectly
fine with `-l -i -c` and `;`, which the other shells do too.

These all work:

    bash -l -i -c 'echo lol; /usr/bin/env -0'
    nu -l -i -c 'echo lol; /usr/bin/env -0'
    zsh -l -i -c 'echo lol; /usr/bin/env -0'
    fish -l -i -c 'echo lol; /usr/bin/env -0'

Release Notes:

- Fixed shell environment not being loaded if Nushell was set as
`$SHELL`.
```

## Parents

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

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