2
0
Fork 0
mirror of https://github.com/nushell/nushell synced 2025-02-13 12:43:48 +00:00
nushell/tests
Darren Schroeder ef7fbf4bf9
Revert "Allow NU_LIBS_DIR and friends to be const" ()
Reverts 

In anticipation that we may want to revert this PR. I'm starting the
process because of this issue.

This stopped working
```
let-env NU_LIB_DIRS = [
    ($nu.config-path | path dirname | path join 'scripts')
    'C:\Users\username\source\repos\forks\nu_scripts'
    ($nu.config-path | path dirname)
]
```
You have to do this now instead.
```
const NU_LIB_DIRS = [
    'C:\Users\username\AppData\Roaming\nushell\scripts'
    'C:\Users\username\source\repos\forks\nu_scripts'
    'C:\Users\username\AppData\Roaming\nushell'
]
```

In talking with @kubouch, he was saying that the `let-env` version
should keep working. Hopefully it's a small change.
2023-03-17 09:33:24 -05:00
..
assets/nu_json Preserve order when serializing/deserialize json by default. () 2021-03-04 01:35:13 -05:00
const_ Initial support for parse-time constants () 2022-12-22 00:21:03 +02:00
fixtures Disable pipeline echo () 2023-03-17 11:53:46 +13:00
hooks Restrict closure expression to be something like {|| ...} () 2023-03-17 07:36:28 -05:00
modules Re-implement aliases () 2023-02-27 20:44:05 +13:00
overlays Allow aliasing parser keywords () 2023-03-10 23:20:31 +02:00
parsing Revert "Primitives now use color closures..." () 2023-01-08 21:53:52 -08:00
path Run a round of clippy --fix to fix a ton of lints () 2022-11-04 15:11:17 -05:00
plugins Move some from xxx commands to plugin () 2023-02-13 12:42:08 +00:00
scope Re-implement aliases () 2023-02-27 20:44:05 +13:00
shell Revert "Allow NU_LIBS_DIR and friends to be const" () 2023-03-17 09:33:24 -05:00
main.rs Initial support for parse-time constants () 2022-12-22 00:21:03 +02:00