Skip to content

Commit 2c2d48b

Browse files
authored
Fix a couple devbox global command examples (#1665)
## Summary - `exec ...` should be `eval ...` - `devbox add ripgrep` was missing `global` Signed-off-by: Adam DiCarlo <[email protected]>
1 parent 64e82bf commit 2c2d48b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/app/docs/cli_reference/devbox_global.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
Top level command for managing global packages.
44

5-
You can use `devbox global` to install packages that you want to use across all your local devbox projects. For example -- if you usually use `ripgrep` for searching in all your projects, you can use `devbox add ripgrep` to make it available whenever you start a `devbox shell` without adding it to each project's `devbox.json.`
5+
You can use `devbox global` to install packages that you want to use across all your local devbox projects. For example -- if you usually use `ripgrep` for searching in all your projects, you can use `devbox global add ripgrep` to make it available whenever you start a `devbox shell` without adding it to each project's `devbox.json.`
66

77
You can also use Devbox as a global package manager by adding the following line to your shellrc:
88

9-
`exec "$(devbox global shellenv)"`
9+
`eval "$(devbox global shellenv)"`
1010

1111
For more details, see [Use Devbox as your Primary Package Manager](../devbox_global.md).
1212

@@ -32,4 +32,4 @@ devbox global <subcommand> [flags]
3232

3333
## SEE ALSO
3434

35-
* [devbox](devbox.md) - Instant, easy, predictable development environments
35+
* [devbox](devbox.md) - Instant, easy, predictable development environments

0 commit comments

Comments
 (0)