Skip to content

Instantly share code, notes, and snippets.

@khopland
Last active June 22, 2022 20:37
Show Gist options
  • Save khopland/2b9c5cbabb41b31c9dc8419c103c6dff to your computer and use it in GitHub Desktop.
Save khopland/2b9c5cbabb41b31c9dc8419c103c6dff to your computer and use it in GitHub Desktop.
"$schema" = 'https://starship.rs/config-schema.json'
format = """$shell$all$battery\n$character"""
# Don't print a new line at the start of the prompt
add_newline = false
command_timeout = 3000
continuation_prompt = "[❯](black)[❯ ](yellow)"
[memory_usage]
disabled = false
threshold = -1
symbol = "🐏"
format = "[$symbol$ram_pct]($style)"
style = "bold dimmed green"
[directory]
use_os_path_sep = false
truncate_to_repo = false
repo_root_style = "italic fg:purple"
format = "[$path]($style)[$lock_symbol]($lock_style)"
[directory.substitutions]
"~/Documents" = "οœ™ "
"~/Music" = "ο’ƒ "
"~/Movies" = "ο—Ό "
"~/Pictures" = "ο›ž "
"~/dev" = "ο„‘ "
[character]
format = "$symbol"
success_symbol = "[❯](#69FF94)[❯ ](#C591E8)"
error_symbol = "[❯](bold yellow)[❯ ](bold red)"
[git_branch]
format = " [$symbol $branch]($style) "
symbol = ""
style = "bold yellow"
[git_commit]
commit_hash_length = 8
style = "bold white"
[git_status]
conflicted = "βš”οΈ"
up_to_date = "βœ…"
ahead = "πŸ’¨Γ—${count}"
behind = "πŸ’Γ—${count}"
diverged = "πŸ”± πŸ’¨Γ—${ahead_count} πŸ’Γ—${behind_count}"
untracked = "πŸšœΓ—${count}"
stashed = "πŸ“¦Γ—${count}"
modified = "πŸ“Γ—${count}"
staged = "πŸ—ƒοΈΓ—${count}"
renamed = "πŸ“›Γ—${count}"
deleted = "πŸ—‘οΈΓ—${count}"
style = "cyan"
format = "[$stashed$all_status$ahead_behind]($style) "
[shell]
bash_indicator = "ξœ’"
zsh_indicator = "ξœ’"
fish_indicator = "ξœ’"
powershell_indicator = "ο…Ί"
unknown_indicator = "?"
format = "[$indicator ](#56B6C2)"
disabled = false
[line_break]
disabled = true
[cmd_duration]
min_time = 5_000
format = " [$duration]($style)"
disabled = false
# Disable the package module, hiding it from the prompt completely
[package]
disabled = true
# These symbols will only show when battery levels are 20% or less
[battery]
charging_symbol = "⚑️ "
discharging_symbol = "πŸ’€ "
[[battery.display]] # "bold red" style when capacity is between 0% and 20%
threshold = 20
style = "bold red"
[docker_context]
format = "[πŸ‹ $context](blue bold)"
[terraform]
disabled = false
symbol = "行 "
format = '[$symbol$workspace]($style)'
[aws]
symbol = " "
[dart]
symbol = " "
[dotnet]
symbol = " "
version_format = "v${major}"
style = "#C591E8"
format = "[${symbol}]($style)"
detect_extensions = ["csproj", "fsproj", "xproj", "sln", "cs"]
[elixir]
symbol = " "
[elm]
symbol = " "
[erlang]
symbol = "ξžͺ "
[golang]
symbol = " "
[java]
symbol = "ξ‰– "
version_format = "v${major}"
style = "red"
format = "[${symbol}(${version})]($style) "
[julia]
symbol = " "
[nim]
symbol = " "
[nix_shell]
symbol = "ο‹œ "
[nodejs]
symbol = " "
version_format = "v${major}"
format = "[${symbol}(${version})]($style) "
[perl]
symbol = " "
[php]
symbol = " "
[python]
symbol = "ξ˜† "
[ruby]
symbol = " "
[rust]
symbol = " "
[swift]
symbol = "ο―£ "
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment