Skip to content

Commit

Permalink
tweak overlay new tip (nushell#992)
Browse files Browse the repository at this point in the history
In the tip for `Overlays are Recordable` the text shows how to create a scratch overlay to record changes into before showing a less verbose version using `overlay new`.

However the more verbose version also uses `overlay new` before it's introduced, which I presume is meant to be `overlay use`
  • Loading branch information
gregokent committed Jul 29, 2023
1 parent d6b3d39 commit 7010230
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion book/overlays.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ The solution can be to create a new empty overlay that would be used just for re
(spam)> module scratchpad { }
(spam)> overlay new scratchpad
(spam)> overlay use scratchpad
(scratchpad)> def eggs [] { "eggs" }
```
Expand Down
2 changes: 1 addition & 1 deletion de/book/overlays.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ Die Lösung dafür ist, eine leere Überlagerung zu erstellen und die Definition
(spam)> module scratchpad { }
(spam)> overlay new scratchpad
(spam)> overlay use scratchpad
(scratchpad)> def eggs [] { "eggs" }
```
Expand Down

0 comments on commit 7010230

Please sign in to comment.