diff --git a/src/init/starship.nu b/src/init/starship.nu index f5223558..7d879bee 100644 --- a/src/init/starship.nu +++ b/src/init/starship.nu @@ -15,12 +15,11 @@ let-env PROMPT_COMMAND = { # Whether we have config items let has_config_items = (not ($env | get -i config | is-empty)) -let config = if $has_config_items { +let-env config = if $has_config_items { $env.config | upsert render_right_prompt_on_last_line true } else { {render_right_prompt_on_last_line: true} } -{config: $config} | load-env let-env PROMPT_COMMAND_RIGHT = { let width = (term size).columns