Last active
April 29, 2022 07:46
-
-
Save nulconaux/2539b33270c8b660b605df16c17ef364 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
# https://starship.rs/guide/#%F0%9F%9A%80-installation | |
# ~/.config/starship.toml | |
# Use custom format | |
format = """ | |
[┌───────────────────](bold green) | |
[│](bold green)$all | |
[└─>](bold green) """ | |
# Wait 25 milliseconds for starship to check files under the current directory. | |
scan_timeout = 25 | |
command_timeout = 1000 | |
# Print a new line at the start of the prompt | |
add_newline = true | |
[line_break] | |
disabled = false | |
[character] | |
format = '$symbol ' | |
success_symbol = '[ ➟](bold green)' | |
error_symbol = '[ ✗](bold green)' | |
vicmd_symbol = '[ V](bold green)' | |
disabled = false | |
[shell] | |
unknown_indicator = "mystery shell" | |
disabled = false | |
bash_indicator = "bash" | |
[username] | |
disabled = true | |
[hostname] | |
ssh_only = true | |
format = "on [$hostname](bold red) " | |
trim_at = "." | |
disabled = false | |
[status] | |
format = "[$signal_number $signal_name $symbol $status $common_meaning]($style) " | |
recognize_signal_code = true | |
style = "red" | |
symbol = "✖" | |
success_symbol = "✔️" | |
not_executable_symbol = "🚫" | |
not_found_symbol = "🔍" | |
sigint_symbol = "🧱" | |
signal_symbol = "⚡" | |
map_symbol = true | |
disabled = false | |
[cmd_duration] | |
min_time = 10_000 # Show command duration over 10,000 milliseconds (=10 sec) | |
format = 'took [$duration]($style) ' | |
style = 'yellow bold' | |
show_milliseconds = false | |
disabled = false | |
show_notifications = false | |
min_time_to_notify = 45000 | |
[directory] | |
truncation_length = 10 | |
truncate_to_repo = true | |
fish_style_pwd_dir_length = 0 | |
use_logical_path = true | |
format = "[$path]($style)[$read_only]($read_only_style) " | |
style = 'cyan' # | |
disabled = false | |
read_only = "🔒" | |
read_only_style = 'red' | |
truncation_symbol = '…/' | |
home_symbol = '~' | |
[memory_usage] | |
threshold = 50 | |
format = '$symbol[$ram]($style) ' | |
style = 'white dimmed' | |
disabled = false | |
[package] | |
format = '[$symbol$version]($style) ' | |
symbol = "\uf487 " | |
style = 'yellow' | |
display_private = false | |
disabled = false | |
[git_branch] | |
format = '[$symbol$branch]($style)(:[$remote]($style)) ' | |
symbol = "🌱 " | |
style = 'purple' | |
truncation_length = 9223372036854775807 | |
truncation_symbol = '…' | |
only_attached = false | |
always_show_remote = true | |
disabled = false | |
[git_commit] | |
commit_hash_length = 8 | |
format = '[\($hash$tag\)]($style) ' | |
style = 'green' | |
only_detached = false | |
tag_disabled = false | |
disabled = false | |
tag_symbol = "🔖 " | |
[git_state] | |
rebase = '[REBASING]' | |
merge = '[MERGING]' | |
revert = '[REVERTING]' | |
cherry_pick = "[🍒 PICKING](bold red)" | |
bisect = '[BISECTING]' | |
am = '[AM]' | |
am_or_rebase = '[AM/REBASE]' | |
style = 'yellow' | |
format = '\([$state( $progress_current/$progress_total)]($style)\) ' | |
disabled = false | |
# [git_metrics] | |
# added_style = "bold green" | |
# deleted_style = "bold red" | |
# only_nonzero_diffs = true | |
# format = '[+$added]($added_style)/[-$deleted]($deleted_style) ' | |
# disabled = false | |
[git_status] | |
conflicted = "🏳 ${count}" | |
ahead = "⇡ ${count}" | |
diverged = "⇕⇡${ahead_count}⇣${behind_count}" | |
up_to_date = "✓ ${count}" | |
untracked = " ?${count}" | |
stashed = "$ ${count}" | |
modified = "✎ ${count}" | |
renamed = "» ${count}" | |
deleted = "✘ ${count}" | |
behind = "⇣ ${count}" | |
staged = "+ ${count}" | |
format = "[$all_status $ahead_behind]($style)" | |
[nodejs] | |
format = 'via [$symbol($version )]($style)' | |
version_format = 'v${raw}' | |
symbol = ' ' | |
style = 'bold green' | |
disabled = false | |
not_capable_style = 'bold red' | |
detect_extensions = [ | |
'js', | |
'mjs', | |
'cjs', | |
'ts', | |
] | |
detect_files = [ | |
'package.json', | |
'.node-version', | |
'.nvmrc', | |
] | |
detect_folders = ['node_modules'] | |
[aws] | |
format = 'on [$symbol($profile )(\($region\) )]($style)' | |
style = "bold blue" | |
symbol = "☁️ " | |
[terraform] | |
symbol = "💠 " | |
format = "$symbol$version $workspace($style) " | |
[python] | |
format = "[$symbol$version]($style) " | |
style = "bold green" | |
[time] | |
time_format = "%Y-%m-%d %H:%M:%S" | |
format = "$time($style) " | |
style = "bright-white" | |
disabled = false | |
[docker_context] | |
format = "via [🐋 $context](blue bold)" | |
[kubernetes] | |
format = '[☸︎ $context \($namespace\)](dimmed green) ' | |
disabled = false | |
[kubernetes.context_aliases] | |
# "dev.local.cluster.k8s" = "dev" | |
# ".*/openshift-cluster/.*" = "openshift" | |
# "gke_.*_(?P<cluster>[\\w-]+)" = "gke-$cluster" |
Author
nulconaux
commented
Nov 30, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment