starship.toml (1603B)
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 $python\ 25 $cmd_duration\ 26 $time""" 27 28 continuation_prompt = '▶▶ ' 29 30 [python] 31 pyenv_version_name = true 32 format = '[(${symbol}$virtualenv )]($style)' 33 34 [jobs] 35 symbol = '' 36 37 [cmd_duration] 38 format = '[$duration]($style) ' 39 # Notifications would be nice, but they work even if I edit something with vim - that's a lot of noise 40 # show_notifications = true 41 # min_time_to_notify = 15 42 43 [status] 44 disabled = false 45 symbol = '✘' 46 format = '[$symbol( $maybe_int)( $common_meaning)]($style) ' 47 style = 'red' 48 pipestatus = true 49 50 [directory] 51 # Show the path even in a git repo 52 truncate_to_repo = false 53 style = 'blue' 54 # Truncate the path by truncating each component to 3 chars (otherwise it would 55 # just remove the components) 56 fish_style_pwd_dir_length = 3 57 58 [git_branch] 59 # Truncate branch name to 20 chars 60 truncation_length = 20 61 format = '[$symbol$branch(:$remote_branch)]($style) ' 62 style = 'green' 63 64 [time] 65 disabled = false 66 format = '[$time]($style) ' 67 style = 'cyan' 68 69 [git_status] 70 # Defaults don't have the count in there 71 stashed = '\$${count}' 72 ahead = "⇡${count}" 73 behind = "⇣${count}" 74 diverged = "⇕${count}" 75 conflicted = "=${count}" 76 deleted = "✘${count}" 77 renamed = "»${count}" 78 modified = "!${count}" 79 staged = "+${count}" 80 untracked = "?${count}" 81 style = 'yellow'