-- Set config location to be in %APPDATA% rather than the default %USERPROFILE%\.config local appdata = os.getenv("APPDATA") os.setenv("STARSHIP_CONFIG", appdata .. "\\starship.toml") -- Load starship load(io.popen('starship init cmd'):read("*a"))()