Closed jaudiger closed 1 month ago
I think this
export alias bar = "bar"
needs to be changed to this
export alias bar = echo "bar"
Works like a charm with the modification:
module spam {
export def foo [] {
"foo"
}
export alias bar = echo "bar"
export-env {
load-env { BAZ: "baz" }
}
}
use spam
spam bar
> bar
I could open a PR if you want
sure, go for it. thx!
From the example of chapter Basics: https://www.nushell.sh/book/overlays.html#basics
I got the following error using Nushell 0.93.0: