Skip to content

Commit 6e980c7

Browse files
Config Preview Updates (#1690)
* Update config recommendations for 0.101 * Editor examples * Typo * Move preview Configuration chapter live for 0.101 --------- Co-authored-by: Stefan Holderbach <[email protected]>
1 parent 4f877de commit 6e980c7

File tree

3 files changed

+590
-809
lines changed

3 files changed

+590
-809
lines changed

blog/2024-12-04-configuration_preview.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Today, we're releasing two documentation items related to these changes:
1414

1515
- A guide to upgrading your configuration to take advantage of the enhancements (below). This will also be linked from the 0.101 Release Notes when it becomes available.
1616

17-
- A [preview of the new Configuration chapter](/book/configuration_preview.md) of the Book. This chapter has been rewritten to match the new functionality, as well as add some previously missing documentation on features like autoload dirs (and more). Once 0.101 releases, this will replace the previous configuration chapter. We welcome reviews of the updates, and any corrections or enhancements can be submitted to [the doc repository](https://github.com/nushell/nushell.github.io) if needed.
17+
- A [<s>preview of the</s> (now live) new Configuration chapter](/book/configuration) of the Book. This chapter has been rewritten to match the new functionality, as well as add some previously missing documentation on features like autoload dirs (and more). Once 0.101 releases, this will replace the previous configuration chapter. We welcome reviews of the updates, and any corrections or enhancements can be submitted to [the doc repository](https://github.com/nushell/nushell.github.io) if needed.
1818

1919
---
2020

@@ -126,8 +126,7 @@ $env.config.history = {
126126
- The commented, sample `default_env.nu` and `default_config.nu` in older releases was useful for learning about configuration options. Since these (long) files are no longer copied to the filesystem, you can access an enhanced version of this documentation using:
127127

128128
```nu
129-
config env --sample | nu-highlight | less -R
130-
config nu --sample | nu-highlight | less -R
129+
config nu --doc | nu-highlight | less -R
131130
```
132131

133132
- Skeleton config files (`env.nu` and `config.nu`) are automatically created when the default config directory is created. Usually this will be the first time Nushell is started. The user will no longer be asked whether or not to create the files.
@@ -136,8 +135,6 @@ $env.config.history = {
136135

137136
- An internal `default_env.nu` is loaded immediately before the user's `env.nu`. You can inspect its contents using `config env --default | nu-highlight | less -R`.
138137

139-
This means that, as with `config.nu`, you can also use your `env.nu` to just override the default environment variables if desired.
140-
141138
- Likewise, a `default_config.nu` is loaded immediately before the user's `config.nu`. View
142139
this file using `config nu --default | nu-highlight | less -R`.
143140

0 commit comments

Comments
 (0)