Rename std/core to std/prelude (#14962)

`std/core` is always loaded by Nushell during startup, and the 
commands in it are always available. As such, it's renamed
`std/prelude`.

`scope modules` and `view files` now show `prelude` in place of
`core`.
This commit is contained in:
Douglas
2025-01-29 11:16:12 -05:00
committed by GitHub
parent aa62de78e6
commit cce12efe48
4 changed files with 14 additions and 10 deletions

View File

@ -1,7 +0,0 @@
use std/assert
#[test]
def banner [] {
use std/core
assert ((core banner | lines | length) == 16)
}

View File

@ -0,0 +1,7 @@
use std/assert
#[test]
def banner [] {
use std/prelude
assert ((prelude banner | lines | length) == 16)
}