Created
January 16, 2023 19:56
-
-
Save felipebossolani/131e8d32d3205877299768621f9c18f5 to your computer and use it in GitHub Desktop.
Meu starship.toml atual
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 = """ | |
[](#9A348E)\ | |
$os\ | |
[](bg:#DA627D fg:#9A348E)\ | |
$directory\ | |
[](fg:#DA627D bg:#FCA17D)\ | |
$git_branch\ | |
$git_status\ | |
[](fg:#FCA17D bg:#86BBD8)\ | |
$nodejs\ | |
$dotnet\ | |
[](fg:#86BBD8 bg:#06969A)\ | |
$docker_context\ | |
[](fg:#06969A bg:#33658A)\ | |
$time\ | |
$cmd_duration\ | |
[ ](fg:#33658A)\ | |
""" | |
# Disable the blank line at the start of the prompt | |
# add_newline = false | |
# You can also replace your username with a neat symbol like or disable this | |
# and use the os module below | |
[username] | |
show_always = true | |
style_user = "bg:#9A348E" | |
style_root = "bg:#9A348E" | |
format = '[$user ]($style)' | |
disabled = false | |
# An alternative to the username module which displays a symbol that | |
# represents the current operating system | |
[os] | |
style = "bg:#9A348E" | |
disabled = false # Disabled by default | |
[directory] | |
style = "bg:#DA627D" | |
format = "[ $path ]($style)" | |
truncation_length = 3 | |
truncation_symbol = "…/" | |
# Here is how you can shorten some long paths by text replacement | |
# similar to mapped_locations in Oh My Posh: | |
[directory.substitutions] | |
"Documents" = " " | |
"Downloads" = " " | |
"Music" = " " | |
"Pictures" = " " | |
# Keep in mind that the order matters. For example: | |
# "Important Documents" = " " | |
# will not be replaced, because "Documents" was already substituted before. | |
# So either put "Important Documents" before "Documents" or use the substituted version: | |
# "Important " = " " | |
[docker_context] | |
symbol = " " | |
style = "bg:#06969A" | |
format = '[ $symbol $context ]($style) $path' | |
[git_branch] | |
symbol = "" | |
style = "bg:#FCA17D fg:#3B3D40" | |
format = '[ $symbol $branch ]($style)' | |
[git_status] | |
style = "bg:#FCA17D fg:#3B3D40" | |
format = '[$all_status$ahead_behind ]($style)' | |
ahead = '⇡${count}' | |
diverged = '⇕⇡${ahead_count}⇣${behind_count}' | |
behind = '⇣${count}' | |
[nodejs] | |
symbol = "" | |
style = "bg:#86BBD8 fg:#3B3D40" | |
format = '[ $symbol ($version) ]($style)' | |
[dotnet] | |
symbol = '.NET' | |
style = "bg:#86BBD8 fg:#3B3D40" | |
heuristic = true | |
detect_extensions = [ | |
'sln', | |
'csproj', | |
'fsproj', | |
'xproj', | |
] | |
detect_files = [ | |
'global.json', | |
'project.json', | |
'Directory.Build.props', | |
'Directory.Build.targets', | |
'Packages.props', | |
] | |
detect_folders = [] | |
format = '[ $symbol ($version) ]($style)' | |
[time] | |
disabled = false | |
time_format = "%R" # Hour:Minute Format | |
style = "bg:#33658A" | |
format = '[ $time ]($style)' | |
[cmd_duration] | |
min_time = 1 | |
style = "bg:#33658A" | |
format = '[took $duration ]($style)' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Fonte utilizada:
FiraCode Nerd Font Mono
Link:
https://github.com/ryanoasis/nerd-fonts/releases/download/v2.3.0/FiraCode.zip