summaryrefslogtreecommitdiffstats
path: root/src/init/starship.nu
diff options
context:
space:
mode:
Diffstat (limited to 'src/init/starship.nu')
-rw-r--r--src/init/starship.nu3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/init/starship.nu b/src/init/starship.nu
index 0601e1806..762569a33 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