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:
@@ -1,10 +1,8 @@
|
|||||||
format = "$username:$hostname $directory $character"
|
format = "$env_var_USER:$hostname $directory $character"
|
||||||
|
|
||||||
[username]
|
[env_var.USER]
|
||||||
show_always = true
|
format = "[$env_value]($style)"
|
||||||
format = "[$user]($style)"
|
style = "bold #0891B2"
|
||||||
style_user = "bold #0891B2"
|
|
||||||
style_root = "bold red"
|
|
||||||
|
|
||||||
[hostname]
|
[hostname]
|
||||||
ssh_only = false
|
ssh_only = false
|
||||||
|
|||||||
Reference in New Issue
Block a user