Created
February 14, 2024 00:03
-
-
Save csnagu/0588f9b1ffdf57b4ea66b258ee99e982 to your computer and use it in GitHub Desktop.
This file contains 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
format = """ | |
$username\ | |
$hostname\ | |
$directory\ | |
$git_branch\ | |
$git_state\ | |
$git_status\ | |
$cmd_duration\ | |
$line_break\ | |
$python\ | |
$character""" | |
[username] | |
format = "[$user]($style)" | |
style_user = "bold blue" | |
[hostname] | |
format = "[@$hostname]($style)" | |
style = "bold blue" | |
[directory] | |
format = "[:$path]($style)[$read_only]($read_only_style) " | |
style = "#EA93F3" | |
truncate_to_repo = false | |
truncation_length = 0 | |
[character] | |
success_symbol = "[❯](#6CEDF0)" | |
error_symbol = "[❯](red)" | |
vimcmd_symbol = "[❮](green)" | |
[git_branch] | |
format = '[git:\($branch\)]($style)' | |
style = "#C2F67C" | |
[git_status] | |
format = "$ahead_behind [[(*$conflicted$untracked$modified$staged$renamed$deleted)](218) ($ahead_behind$stashed)]($style)" | |
style = "cyan" | |
# conflicted = "" | |
# untracked = "" | |
# modified = "" | |
# staged = "" | |
# renamed = "" | |
# deleted = "" | |
# stashed = "≡" | |
ahead = "⇡${count}" | |
diverged = "⇡${ahead_count}⇣${behind_count}" | |
behind = "⇣${count}" | |
modified = "[!${count}](green)" | |
untracked = "[?${count}](red)" | |
staged = "+${count}" | |
[git_state] | |
format = '\([$state( $progress_current/$progress_total)]($style)\) ' | |
style = "red" | |
[cmd_duration] | |
format = "[$duration]($style) " | |
style = "yellow" | |
[python] | |
format = "[$virtualenv]($style) " | |
style = "bright-black" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment