starship.toml (1513B)
1 # Quickref: 2 # [text to style](style string) 3 # style string can be e.g. bold fg:blue bg:black 4 # ($var) - doesn't show up if var is empty 5 6 # Left prompt 7 format = """\ 8 $username\ 9 $directory\ 10 $git_branch\ 11 $git_commit\ 12 $git_state\ 13 $git_metrics\ 14 $git_status\ 15 $package\ 16 $status\ 17 $character""" 18 19 add_newline = false 20 21 # Right prompt 22 right_format = """\ 23 $jobs\ 24 $cmd_duration\ 25 $time""" 26 27 continuation_prompt = '▶▶ ' 28 29 [jobs] 30 symbol = '' 31 32 [cmd_duration] 33 format = '[$duration]($style) ' 34 # Notifications would be nice, but they work even if I edit something with vim - that's a lot of noise 35 # show_notifications = true 36 # min_time_to_notify = 15 37 38 [status] 39 disabled = false 40 symbol = '✘' 41 format = '[$symbol( $maybe_int)( $common_meaning)]($style) ' 42 style = 'red' 43 pipestatus = true 44 45 [directory] 46 # Show the path even in a git repo 47 truncate_to_repo = false 48 style = 'blue' 49 # Truncate the path by truncating each component to 3 chars (otherwise it would 50 # just remove the components) 51 fish_style_pwd_dir_length = 3 52 53 [git_branch] 54 # Truncate branch name to 20 chars 55 truncation_length = 20 56 format = '[$symbol$branch(:$remote_branch)]($style) ' 57 style = 'green' 58 59 [time] 60 disabled = false 61 format = '[$time]($style) ' 62 style = 'cyan' 63 64 [git_status] 65 # Defaults don't have the count in there 66 stashed = '\$${count}' 67 ahead = "⇡${count}" 68 behind = "⇣${count}" 69 diverged = "⇕${count}" 70 conflicted = "=${count}" 71 deleted = "✘${count}" 72 renamed = "»${count}" 73 modified = "!${count}" 74 staged = "+${count}" 75 untracked = "?${count}" 76 style = 'yellow'