move scope variable into nu variable (#4725)

This commit is contained in:
JT
2022-03-04 11:36:11 -05:00
committed by GitHub
parent eef3de2d05
commit e64ca97fe2
8 changed files with 349 additions and 355 deletions

View File

@ -25,7 +25,7 @@ You can say that the module `greetings` exports an overlay which consists of two
By itself, the module does not do anything.
We can verify its existence by printing all available overlays:
```
> $scope.overlays
> $nu.scope.overlays
╭───┬───────────╮
│ 0 │ greetings │
╰───┴───────────╯
@ -306,7 +306,7 @@ It creates the `$config` variable using the module system.
## Known Issues
* It might be more appropriate to use `$scope.modules` instead of `$scope.overlays`
* It might be more appropriate to use `$nu.scope.modules` instead of `$nu.scope.overlays`
## Future Design Ideas

View File

@ -1,6 +1,6 @@
let vers = (version).version
for command in ($scope.commands | where is_custom == false && is_extern == false) {
for command in ($nu.scope.commands | where is_custom == false && is_extern == false) {
let top = $"---
title: ($command.command)
layout: command