2025-10-01 02:25:38 +01:00
|
|
|
-- 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")
|
2025-09-27 21:52:48 +01:00
|
|
|
|
2025-10-01 02:25:38 +01:00
|
|
|
-- Load starship
|
2025-09-27 21:52:48 +01:00
|
|
|
load(io.popen('starship init cmd'):read("*a"))()
|