mirror of
https://github.com/RGBCube/nu_scripts
synced 2025-08-03 07:37:47 +00:00
use $env.
instead of let-env
(#543)
related to nushell/nushell#9574 Commands used ```nushell sd --string-mode "let-env " '$env.' **/* git rst before_v0.60/ ```
This commit is contained in:
parent
c37fd0449f
commit
a61256da0e
32 changed files with 98 additions and 98 deletions
|
@ -31,6 +31,6 @@ def-env c [dir = ""] {
|
|||
}
|
||||
|
||||
# You need to have $env.CDPATH variable declared, my suggestion from config.nu:
|
||||
# let-env CDPATH = [".", $env.HOME, "/", ([$env.HOME, ".config"] | path join)]
|
||||
# $env.CDPATH = [".", $env.HOME, "/", ([$env.HOME, ".config"] | path join)]
|
||||
# WINDOWS:
|
||||
# let-env CDPATH = ["", $env.USERPROFILE, ([$env.USERPROFILE, "AppData\\Roaming\\"] | path join)]
|
||||
# $env.CDPATH = ["", $env.USERPROFILE, ([$env.USERPROFILE, "AppData\\Roaming\\"] | path join)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue