1
Fork 0
mirror of https://github.com/RGBCube/nu_scripts synced 2025-08-01 06:37:46 +00:00

Update conda.nu to use (sys host) rather than (sys).host (#839)

This commit is contained in:
Wind 2024-05-22 19:35:50 +08:00 committed by GitHub
parent bb1fa35baa
commit 537d7fc4f4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -147,7 +147,7 @@ def conda-create-path-unix [env_dir: path] {
}
def windows? [] {
((sys).host.name | str downcase) == "windows"
($nu.os-info.name | str downcase) == "windows"
}
def system-path [] {