diff --git a/src/init/starship.nu b/src/init/starship.nu index 0601e18065cd..762569a33a21 100644 --- a/src/init/starship.nu +++ b/src/init/starship.nu @@ -2,8 +2,7 @@ # - overlay which can be loaded with `overlay use starship.nu` # - module which can be used with `use starship.nu` # - script which can be used with `source starship.nu` -export-env { load-env { - STARSHIP_SHELL: "nu" +export-env { $env.STARSHIP_SHELL = "nu"; load-env { STARSHIP_SESSION_KEY: (random chars -l 16) PROMPT_MULTILINE_INDICATOR: ( ^::STARSHIP:: prompt --continuation