From 4115ddf5fe3886c9700058140b4f6daa2389db17 Mon Sep 17 00:00:00 2001 From: Hugo Marotta Date: Mon, 17 Aug 2026 22:56:24 -0300 Subject: [PATCH] Add nushell instructions to activate devbox global --- docs/devbox/devbox-global/index.mdx | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/devbox/devbox-global/index.mdx b/docs/devbox/devbox-global/index.mdx index 2897955..01d02bc 100644 --- a/docs/devbox/devbox-global/index.mdx +++ b/docs/devbox/devbox-global/index.mdx @@ -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