Archived
0
0
Fork 0
This repository has been archived on 2024-02-06. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/.config/starship.toml

43 lines
845 B
TOML
Raw Normal View History

2022-01-09 05:28:34 +00:00
add_newline = true
format = """
$username@$hostname $directory $git_branch $git_status $git_state $git_metrics $git_commit
$character"""
right_format = "$cmd_duration"
[character]
error_symbol = "[✗](bold red)"
[cmd_duration]
format = "took [$duration]($style) "
[directory]
format = "[$path]($style)[$read_only]($read_only_style)"
read_only = " 🔒"
[git_branch]
format = "on [$symbol$branch]($style)"
[git_commit]
format = "[\\($hash$tag\\)]($style)"
tag_disabled = false
[git_state]
format = '\([$state($progress_current/$progress_total)]($style)\)'
[git_metrics]
disabled = false
format = '([+$added]($added_style))([-$deleted]($deleted_style))'
[git_status]
format = '([\[$all_status$ahead_behind\]]($style))'
[hostname]
ssh_only = false
format= "[$hostname]($style)"
[username]
show_always = true
format = "[$user]($style)"