Created
November 1, 2020 14:34
-
-
Save nukopy/f2f2c896aa4f91dc85e3082b3936e974 to your computer and use it in GitHub Desktop.
Simple theme with Starship
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
######################################## | |
# prompt global settings | |
######################################## | |
# document link: https://starship.rs/ja-JP/config/#%E3%83%95%E3%82%9A%E3%83%AD%E3%83%B3%E3%83%95%E3%82%9A%E3%83%88 | |
# format = "$all" | |
format = """ | |
$username\ | |
$hostname\ | |
$shlvl\ | |
$kubernetes\ | |
$directory\ | |
$git_branch\ | |
$git_commit\ | |
$git_state\ | |
$git_status\ | |
$hg_branch\ | |
$docker_context\ | |
$package\ | |
$cmake\ | |
$dart\ | |
$dotnet\ | |
$elixir\ | |
$elm\ | |
$erlang\ | |
$golang\ | |
$helm\ | |
$java\ | |
$julia\ | |
$nim\ | |
$nodejs\ | |
$ocaml\ | |
$perl\ | |
$php\ | |
$purescript\ | |
$python\ | |
$ruby\ | |
$rust\ | |
$swift\ | |
$terraform\ | |
$zig\ | |
$nix_shell\ | |
$conda\ | |
$memory_usage\ | |
$aws\ | |
$gcloud\ | |
$env_var\ | |
$crystal\ | |
$cmd_duration\ | |
$custom\ | |
$line_break\ | |
$jobs\ | |
$battery\ | |
$time\ | |
$status\n\ | |
$character""" | |
add_newline = true | |
######################################## | |
# prompt detail settings | |
######################################## | |
[username] | |
disabled = false | |
show_always = true | |
style_user = "white bold" | |
style_root = "white bold" | |
# format = "user: [$user]($style) " | |
[directory] | |
truncation_length = 0 | |
truncate_to_repo = false | |
## Git settings | |
[git_branch] | |
style = "bold purple" | |
# symbol = "π± " | |
truncation_length = 100 # no truncation | |
truncation_symbol = "..." | |
[git_status] | |
modified = "M" | |
untracked = "U" | |
deleted = "π " | |
renamed = "π " | |
conflicted = "π³ " | |
ahead = "β‘" # unpushed commit | |
behind = "π°" | |
diverged = "π΅" | |
staged.value = "++" | |
staged.style = "green" | |
staged_count.enabled = true | |
staged_count.style = "green" | |
[git_state] | |
progress_divider = " of " | |
cherry_pick = "π PICKING" | |
## Memory | |
[memory_usage] | |
disabled = false | |
threshold = 1 | |
show_percentage = false | |
show_swap = true | |
# style = "bold dimmed green" | |
style = "bold gray" | |
[jobs] | |
# doc: https://starship.rs/config/#jobs | |
symbol = "πββοΈ " | |
threshold = 1 | |
[battery] | |
disabled = false | |
# full_symbol = "π" | |
charging_symbol = "β‘" | |
discharging_symbol = "π " | |
[[battery.display]] | |
threshold = 70 | |
style = "bold green" | |
[time] | |
disabled = false | |
# format = "π[ \[$time\] ]($style)" | |
format = "at π [$time]($style) " | |
style = "bold yellow" | |
use_12hr = false | |
time_format = "%Y/%m/%d %T" | |
utc_time_offset = "+9" | |
time_range="-" # always: time_range="00:00:00-23:59:59" | |
[line_break] | |
disabled = true # separate prompt into 2 lines | |
[character] | |
# symbol = "πΊ" | |
disabled = false | |
success_symbol = "[β](bold green)" | |
error_symbol = "[β](bold red) " | |
######################################## | |
# disabled: prompt detail settings | |
######################################## | |
[gcloud] | |
disabled = true | |
[aws] | |
# format = "on [$symbol$profile(\($region\))]($style) "" | |
disabled = true | |
format = "" | |
style = "bold blue" | |
symbol = "AWS Region: " | |
[aws.region_aliases] | |
# ap-northeast-1 = "an1" | |
ap-southeast-2 = "au" | |
us-east-1 = "va" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment