1
0

Added kanto config on Windows

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
This commit is contained in:
2025-10-01 02:25:38 +01:00
parent ce8e8fe6ec
commit 2474ac0fd5
3 changed files with 39 additions and 14 deletions

View File

@@ -1,3 +1,6 @@
-- Load starship
-- 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"))()

View File

@@ -1,6 +1,6 @@
add_newline = false
add_newline = false
scan_timeout = 10
format = "\\[$username$hostname\\] :: $directory $cmd_duration$character"
format = "\\[$username$hostname\\] :: $directory $cmd_duration$character"
[line_break]
disabled = true