mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 12:25:58 +02:00
Change NU_LIB_DIRS
not to depend on $nu.config-path
(#8887)
This commit is contained in:
@ -72,14 +72,14 @@ let-env ENV_CONVERSIONS = {
|
||||
#
|
||||
# By default, <nushell-config-dir>/scripts is added
|
||||
let-env NU_LIB_DIRS = [
|
||||
($nu.config-path | path dirname | path join 'scripts')
|
||||
($nu.default-config-dir | path join 'scripts')
|
||||
]
|
||||
|
||||
# Directories to search for plugin binaries when calling register
|
||||
#
|
||||
# By default, <nushell-config-dir>/plugins is added
|
||||
let-env NU_PLUGIN_DIRS = [
|
||||
($nu.config-path | path dirname | path join 'plugins')
|
||||
($nu.default-config-dir | path join 'plugins')
|
||||
]
|
||||
|
||||
# To add entries to PATH (on Windows you might use Path), you can use the following pattern:
|
||||
|
Reference in New Issue
Block a user