use USER env var in starship prompt instead of system user

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-08 08:07:11 +00:00
co-authored by Claude Opus 4.6
parent 3eb4bd820f
commit 69f6ba94c5
@@ -1,10 +1,8 @@
format = "$username:$hostname $directory $character"
format = "$env_var_USER:$hostname $directory $character"
[username]
show_always = true
format = "[$user]($style)"
style_user = "bold #0891B2"
style_root = "bold red"
[env_var.USER]
format = "[$env_value]($style)"
style = "bold #0891B2"
[hostname]
ssh_only = false