mirror of
https://github.com/nushell/nushell.git
synced 2025-06-30 14:40:06 +02:00
move scope variable into nu variable (#4725)
This commit is contained in:
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user