mirror of
https://github.com/asdf-vm/asdf.git
synced 2024-11-15 01:28:17 -07:00
fix(nushell): Use correct env var for shims dir
This commit is contained in:
parent
ccdd47df9b
commit
0d95e2916c
2
asdf.nu
2
asdf.nu
@ -15,7 +15,7 @@ def --env configure-asdf [] {
|
|||||||
if ( $env | get --ignore-errors ASDF_DATA_DIR | is-empty ) {
|
if ( $env | get --ignore-errors ASDF_DATA_DIR | is-empty ) {
|
||||||
$env.HOME | path join '.asdf'
|
$env.HOME | path join '.asdf'
|
||||||
} else {
|
} else {
|
||||||
$env.ASDF_DIR
|
$env.ASDF_DATA_DIR
|
||||||
} | path join 'shims'
|
} | path join 'shims'
|
||||||
)
|
)
|
||||||
let asdf_bin_dir = ( $env.ASDF_DIR | path join 'bin' )
|
let asdf_bin_dir = ( $env.ASDF_DIR | path join 'bin' )
|
||||||
|
Loading…
Reference in New Issue
Block a user