Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions docs/devbox/devbox-global/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,20 @@ Add the following command to your `~/.config/fish/config.fish` file:
devbox global shellenv --init-hook | source
```

### Nushell[](#nushell "Direct link to Nushell")

Add the following command to your `~/.config/nushell/env.nu` file:

```bash
devbox global shellenv --format nushell --preserve-path-stack -r
| lines
| parse "$env.{name} = \"{value}\""
| where name != null
| transpose -r
| into record
| load-env
```

## Sharing Your Global Config with Git[​](#sharing-your-global-config-with-git "Direct link to Sharing Your Global Config with Git")

You can use Git to synchronize your `devbox global` config across multiple machines using
Expand Down