Created
April 30, 2022 05:15
-
-
Save nwaringa/962709b9882147fb44eaa685c19a1039 to your computer and use it in GitHub Desktop.
A Starship Example Config
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
# Get editor completions based on the config schema | |
"$schema" = 'https://starship.rs/config-schema.json' | |
format = """ | |
[](#220135)\ | |
$directory\ | |
[](fg:#220135 bg:#370617)\ | |
$git_branch\ | |
$git_status\ | |
[](fg:#370617 bg:#6a040f)\ | |
$aws\ | |
[](fg:#6a040f bg:#9d0208)\ | |
$time\ | |
[ ](fg:#9d0208)\ | |
[\nﬦ ](fg:#ffffff)""" | |
# Disable the blank line at the start of the prompt | |
add_newline = false | |
# Wait 10 milliseconds for starship to check files under the current directory. | |
scan_timeout = 10 | |
[directory] | |
style = "bg:#220135" | |
truncation_length = 200 | |
truncation_symbol = "…/" | |
format = "[ $path ]($style)[$read_only]($read_only_style)" | |
[directory.substitutions] | |
"Documents" = " " | |
"Downloads" = " " | |
"Music" = " " | |
"Pictures" = " " | |
[git_branch] | |
symbol = "" | |
style = "bg:#370617" | |
format = '[[ $symbol $branch ](bg:#370617)]($style)' | |
[git_status] | |
style = "bg:#370617" | |
format = '[[($all_status$ahead_behind )](bg:#370617)]($style)' | |
[aws] | |
style = "bg:#6a040f" | |
symbol = " " | |
format = "[[ $symbol $region ](bg:#6a040f)]($style)" | |
[aws.region_aliases] | |
us-east-1 = "va" | |
[time] | |
disabled = false | |
time_format = "%a %m/%d %I:%M %P" # Hour:Minute Format | |
style = "bg:#9d0208" | |
format = '[[ $time ](bg:#9d0208)]($style)' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment