Skip to content
Snippets Groups Projects
Commit 7edbf664 authored by STEVAN Antoine's avatar STEVAN Antoine :crab: Committed by STEVAN Antoine
Browse files

add `.env.nu` to load modules with nu-hooks/nuenv

parent 4bd3943c
No related branches found
No related tags found
1 merge request!154add `.env.nu` to load Nushell modules
Pipeline #5616 passed
This commit is part of merge request !154. Comments created here will be created in the context of that merge request.
.env.nu 0 → 100644
const MODULES = [
".nushell/math.nu",
".nushell/formats.nu",
]
def log-load [m: string] {
print $"[(ansi cyan_bold).env.nu(ansi reset)] loading (ansi purple)($m)(ansi reset)"
}
log-load $MODULES.0
use $MODULES.0 *
log-load $MODULES.1
use $MODULES.1 *
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment