Last active
November 26, 2023 21:19
-
-
Save Fifan31/ea1f38d0b07072cc9a829d28a5cae568 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Configuration file for starship prompt | |
# see https://starship.rs/ | |
# This file must be copied into ~/.config/starship.toml | |
# Get editor completions based on the config schema | |
"$schema" = 'https://starship.rs/config-schema.json' | |
# Inserts a blank line between shell prompt | |
add_newline = false | |
format = """ | |
$username[@](white)$hostname\ | |
$directory\ | |
$git_branch\ | |
$git_state\ | |
$git_status\ | |
$python\ | |
$sudo\ | |
$fill\ | |
$cmd_duration\ | |
$time\ | |
$battery\ | |
$line_break\ | |
$character""" | |
[username] | |
show_always = true | |
style_user = "fg:blue" | |
style_root = "fg:blue bold" | |
format = '[$user]($style)' | |
disabled = false | |
[hostname] | |
ssh_only = false | |
format = '[$hostname:](red)' | |
disabled = false | |
[directory] | |
truncation_length = 0 | |
truncation_symbol = '' | |
truncate_to_repo = false | |
[git_branch] | |
truncation_length = 999 | |
truncation_symbol = '' | |
#always_show_remote = true | |
#symbol = 'ξ ο ξ₯ π±' | |
symbol = 'ξ₯ ' | |
format = ' [\[$symbol$branch(:$remote_branch)\]]($style)' | |
[git_state] | |
format = '[\($state( $progress_current of $progress_total)\)]($style)' | |
cherry_pick = '[π PICKING](bold red)' | |
[git_status] | |
conflicted = "βοΈ " | |
ahead = "ποΈπ¨Γ${count}" | |
behind = "π’Γ${count}" | |
diverged = "π± ποΈπ¨Γ${ahead_count} π’Γ${behind_count}" | |
untracked = "π€·Γ${count}" | |
stashed = "π¦ " | |
modified = "πΓ${count}" | |
staged = "ποΈ Γ${count}" | |
renamed = "πΓ${count}" | |
deleted = "ποΈΓ${count}" | |
#up_to_date = 'ο ' | |
style = "bright-white" | |
format = '\[$all_status$ahead_behind\]' | |
[python] | |
format = '[ \[${symbol}${pyenv_prefix}(${version} )(\($virtualenv\))\]]($style)' | |
symbol = 'π' | |
[fill] | |
symbol = " " | |
[battery] | |
full_symbol = "π" | |
empty_symbol = "πͺ«" | |
charging_symbol = "π" | |
discharging_symbol = "β‘" | |
format = "[$symbol]($style)" | |
[[battery.display]] | |
threshold = 110 | |
style = 'bold red' | |
[time] | |
disabled = false | |
format = '[\[π $time \]]($style) ' | |
time_format = '%T' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment