Changed config location for starship on Windows Updated dots.bat to include patch function Use patch to strip hostname prefixes when installing Style change for all caps in dots.bat
7 lines
251 B
Lua
7 lines
251 B
Lua
-- 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"))()
|