nushell: Add .local/bin .cargo/bin to path

This commit is contained in:
2023-06-19 18:42:15 +02:00
parent ecce69cad2
commit f12f056e73

View File

@ -75,7 +75,7 @@ let-env NU_PLUGIN_DIRS = [
]
# To add entries to PATH (on Windows you might use Path), you can use the following pattern:
# let-env PATH = ($env.PATH | split row (char esep) | prepend '/some/path')
let-env PATH = ($env.PATH | split row (char esep) | prepend [($env.HOME + "/.local/bin"), ($env.HOME + "/.cargo/bin")])
mkdir ~/.cache/starship
starship init nu | save -f ~/.cache/starship/init.nu