starship: update config

This commit is contained in:
Hoang Nguyen 2021-07-20 17:15:04 +03:00
parent d3b5747f57
commit 8b3da5fff0
No known key found for this signature in database
GPG Key ID: 813CF484F4993419
1 changed files with 76 additions and 43 deletions

View File

@ -7,24 +7,21 @@ symbol = " "
style = "bold yellow"
format = "on [$symbol$profile(\\($region\\))]($style) "
disabled = true
[aws.region_aliases]
ap-southeast-2 = "au"
us-east-1 = "va"
[battery]
full_symbol = "🔋"
charging_symbol = " "
discharging_symbol = "💀"
full_symbol = ""
charging_symbol = " "
discharging_symbol = ""
unknown_symbol = " "
empty_symbol = " "
empty_symbol = " "
format = "[$symbol$percentage]($style) "
disabled = false
[[battery.display]]
threshold = 10
style = "bold red"
[[battery.display]]
threshold = 20
style = "bold yellow"
@ -45,6 +42,7 @@ disabled = false
[cmd_duration]
min_time = 1000
show_milliseconds = false
show_notifications = false
style = "bold yellow"
format = "took [$duration]($style) "
disabled = false
@ -55,7 +53,7 @@ symbol = "🐍 "
style = "bold dimmed green"
format = "[$symbol$environment]($style) "
ignore_base = true
disabled = false
disabled = true
[crystal]
symbol = "🔮 "
@ -69,6 +67,12 @@ style = "bold blue"
format = "via [$symbol$version]($style) "
disabled = true
[deno]
symbol = "🦕 "
style = "green bold"
format = "via [$symbol($version)]($style)"
disabled = true
[directory]
truncation_length = 5
truncate_to_repo = true
@ -76,7 +80,7 @@ use_logical_path = true
fish_style_pwd_dir_length = 0
home_symbol = "~"
truncation_symbol = ""
read_only = ""
read_only = "🔒"
read_only_style = "red"
style = "bold cyan"
format = "[$path]($style)[$read_only]($read_only_style) "
@ -109,12 +113,12 @@ format = "via [$symbol$version]($style) "
disabled = true
[env_var]
variable = "STARSHIP_SHELL"
default = "sh"
symbol = " "
style = "bold dimmed white"
format = "with [$symbol$env_value]($style) "
disabled = true
[env_var.STARSHIP_SHELL]
default = "sh"
symbol = " "
[erlang]
symbol = " "
@ -125,15 +129,13 @@ disabled = true
[gcloud]
symbol = " "
style = "bold blue"
format = "on [$symbol$account(\\($region\\)) - ($project)]($style) "
format = "on [$symbol$account@$domain(\\($region\\)) - ($project)]($style) "
disabled = true
[gcloud.region_aliases]
us-central1 = "uc1"
asia-northeast1 = "an1"
[git_branch]
truncation_length = 9223372036854775807
truncation_symbol = "…"
symbol = " "
style = "bold purple"
@ -143,8 +145,10 @@ disabled = false
[git_commit]
commit_hash_length = 8
only_detached = true
tag_symbol = "🔖 "
style = "bold green"
format = "[\\($hash\\)]($style) "
format = "[\\($hash\\)]($style) [\\($tag\\)]($style)"
tag_disabled = false
disabled = false
[git_state]
@ -156,9 +160,15 @@ bisect = "BISECTING"
am = "APPLY-MAILBOX"
am_or_rebase = "AM/REBASE"
style = "dimmed bold yellow"
format = "\\([$state($progress_current/$progress_total)]($style)\\) "
format = '\([$state( $progress_current/$progress_total)]($style)\) '
disabled = false
[git_metrics]
added_style = "bold green"
deleted_style = "bold red"
format = '[+$added]($added_style) [-$deleted]($deleted_style) '
disabled = true
[git_status]
conflicted = "=${count} "
ahead = "⇡${count} "
@ -220,12 +230,10 @@ format = "via [$symbol($version )]($style)"
disabled = true
[kubernetes]
namespace_spaceholder = ""
symbol = "⛵ "
style = "cyan bold"
format = "[$symbol$context( \\($namespace\\))]($style) in "
disabled = true
disabled = false
[kubernetes.context_aliases]
"dev.local.cluster.k8s" = "dev"
@ -247,8 +255,7 @@ format = "via $symbol [${ram}( | ${swap})]($style) "
disabled = true
[hg_branch]
truncation_length = 9223372036854775807
truncation_symbol = "..."
truncation_symbol = "…"
symbol = " "
style = "bold purple"
format = "on [$symbol$branch]($style) "
@ -265,7 +272,7 @@ symbol = " "
impure_msg = "impure"
pure_msg = "pure"
style = "bold blue"
format = "via [$symbol$state( \\($name\\))]($style) "
format = 'via [$symbol$state( \($name\))]($style) '
disabled = false
[nodejs]
@ -275,6 +282,18 @@ not_capable_style = "bold red"
format = "via [$symbol$version]($style) "
disabled = false
[ocaml]
symbol = "🐫 "
style = "bold yellow"
format = 'via [$symbol($version)(\($switch_indicator$switch_name\) )]($style)'
disabled = true
[openstack]
symbol = "☁️ "
style = "bold yellow"
format = "on [$symbol$cloud(\\($project\\))]($style) "
disabled = true
[package]
display_private = true
symbol = "📦 "
@ -282,12 +301,6 @@ style = "bold 208"
format = "via [$symbol$version]($style) "
disabled = false
[ocaml]
symbol = "🐫 "
style = "bold yellow"
format = "via [$symbol$version]($style) "
disabled = true
[perl]
symbol = "🐪 "
style = "bold 149"
@ -300,8 +313,13 @@ style = "147 bold"
format = "via [$symbol$version]($style) "
disabled = false
[purescript]
symbol = "<=> "
style = "bold white"
format = "via [$symbol$version]($style) "
disabled = true
[python]
python_binary = "python3"
pyenv_version_name = false
pyenv_prefix = "pyenv"
symbol = " "
@ -309,6 +327,18 @@ style = "yellow bold"
format = "via [${symbol}${pyenv_prefix}${version}( \\($virtualenv\\))]($style) "
disabled = false
[rlang]
symbol = "📐"
style = "blue bold"
format = "via [$symbol($version )]($style)"
disabled = true
[red]
symbol = "🔴 "
style = "red bold"
format = "via [$symbol($version )]($style)"
disabled = true
[ruby]
symbol = "💎 "
style = "bold red"
@ -321,6 +351,15 @@ style = "bold red"
format = "via [$symbol$version]($style) "
disabled = false
[scala]
symbol = " "
style = "red dimmed"
format = "via [${symbol}(${version} )]($style)"
disabled = true
[shell]
disabled = true
[shlvl]
threshold = 2
symbol = " "
@ -334,12 +373,6 @@ style = "bold dimmed blue"
format = "[$symbol\\[$env\\]]($style) "
disabled = true
[swift]
symbol = "ﯣ "
style = "bold 202"
format = "via [$symbol$version]($style) "
disabled = true
[status]
symbol = "💣 "
not_executable_symbol = "🚫"
@ -352,11 +385,17 @@ style = "bold red"
format = "[$symbol$status]($style) "
disabled = true
[swift]
symbol = "ﯣ "
style = "bold 202"
format = "via [$symbol$version]($style) "
disabled = true
[terraform]
symbol = "ﯟ "
style = "bold 105"
format = "via [$symbol$version$workspace]($style) "
disabled = true
disabled = false
[time]
use_12hr = false
@ -385,9 +424,3 @@ symbol = "↯ "
style = "bold yellow"
format = "via [$symbol$version]($style) "
disabled = false
[purescript]
symbol = "<=> "
style = "bold white"
format = "via [$symbol$version]($style) "
disabled = true