starship config

This commit is contained in:
Zhongheng Liu 2026-01-18 15:08:24 +01:00
commit cfbcb0b3a8
Signed by untrusted user who does not match committer: steven
GPG key ID: 805A28B071DAD84B
2 changed files with 35 additions and 12 deletions

View file

@ -0,0 +1,22 @@
"$schema" = 'https://starship.rs/config-schema.json'
format = """
$username@$hostname: $character"""
right_format = """
$directory\
$git_status$git_branch
"""
[hostname]
ssh_only = false
style = 'bold blue dimmed'
format = '[$hostname]($style)'
[username]
show_always = true
format = '[$user]($style)'
[directory]
fish_style_pwd_dir_length = 1
[sudo]
style = 'bold green'
symbol = 'SUDO'
disabled = false