fix(nushell): Use correct env var for shims dir

This commit is contained in:
Lukas Dams 2024-04-14 16:30:25 +02:00
parent ccdd47df9b
commit 0d95e2916c
No known key found for this signature in database

View File

@ -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' )