Skip to content

Instantly share code, notes, and snippets.

@nukopy
Created November 1, 2020 16:04
Show Gist options
  • Save nukopy/539365070767ba3bbd3d252f5e579c23 to your computer and use it in GitHub Desktop.
Save nukopy/539365070767ba3bbd3d252f5e579c23 to your computer and use it in GitHub Desktop.
Power line theme
# Starship default config, extracted from the source
# Configure the format of the prompt
format = """\
$username\
$hostname\
$shlvl\
$singularity\
$kubernetes\
$directory\
$git_branch\
$git_commit\
$git_state\
$git_status\
$hg_branch\
$docker_context\
$package\
(↓ Toolchain version modules ↓)\
$cmake\
$dart\
$dotnet\
$elixir\
$elm\
$erlang\
$golang\
$helm\
$java\
$julia\
$nim\
$nodejs\
$ocaml\
$perl\
$php\
$purescript\
$python\
$ruby\
$rust\
$swift\
$terraform\
$zig\
(↑ Toolchain version modules ↑)\
$nix_shell\
$conda\
$memory_usage\
$aws\
$gcloud\
$env_var\
$crystal\
$cmd_duration\
$custom\
(↑ above input line ↑)\
$line_break\
(↓ on input line ↓)\
$jobs\
$battery\
$time\
$status\
$character\
"""
# Timeout for starship to scan files (in milliseconds)
scan_timeout = 30
# Add a new line before the start of the prompt
add_newline = true
[aws]
disabled = false
format = '[[](bg:#444444 fg:#333333)[on](bg:#444444 fg:white) $symbol$profile(\($region\))[](bg:#333333 fg:#444444)]($style)'
symbol = " "
style = "bold bg:#444444 fg:yellow"
[battery]
disabled = false
full_symbol = ""
charging_symbol = ""
discharging_symbol = ""
format = "[[](bg:#555555 fg:#333333)$symbol$percentage[](bg:#333333 fg:#555555)]($style)"
[[battery.display]]
threshold = 10
style = "bg:#555555 fg:red"
[character]
disabled = false
format = "$symbol "
success_symbol = "[[](bg:green fg:#333333)](fg:green)"
error_symbol = "[[](bg:red fg:#333333)](fg:red)"
vicmd_symbol = "[[](fg:green bg:#333333)](bg:green fg:#000000)"
[cmake]
disabled = false
format = "[[](bg:#444444 fg:#333333)[via](bg:#444444 fg:white) $symbol$version[](bg:#333333 fg:#444444)]($style)"
symbol = "喝 "
style = "bg:#444444 fg:blue"
[cmd_duration]
disabled = false
min_time = 2_000
format = "[[](bg:#555555 fg:#333333)took $duration[](bg:#333333 fg:#555555)]($style)"
show_milliseconds = false
style = "bold bg:#555555 fg:yellow"
show_notifications = false
min_time_to_notify = 45_000
[conda]
disabled = false
truncation_length = 1
format = "[[](bg:#444444 fg:#333333)[via](bg:#444444 fg:white) $symbol$environment[](bg:#333333 fg:#444444)]($style)"
symbol = " "
style = "bg:#444444 fg:green"
ignore_base = true
[crystal]
disabled = false
format = "[[](bg:#444444 fg:#333333)[via](bg:#444444 fg:white) $symbol$version[](bg:#333333 fg:#444444)]($style)"
symbol = " "
style = "bg:#444444 fg:red"
[dart]
disabled = false
format = "[[](bg:#444444 fg:#333333)[via](bg:#444444 fg:white) $symbol$version[](bg:#333333 fg:#444444)]($style)"
symbol = " "
style = "bg:#444444 fg:blue"
[directory]
disabled = false
truncation_length = 3
truncate_to_repo = true
fish_style_pwd_dir_length = 0
use_logical_path = true
format = "[[](bg:#555555 fg:#333333)$path [](bg:#333333 fg:#555555)]($style)([[](bg:#555555 fg:#333333)$read_only[](bg:#333333 fg:#555555)]($read_only_style))"
style = "italic bg:#555555 fg:cyan"
read_only = ""
read_only_style = "bg:#555555 fg:red"
truncation_symbol = ""
# [directory.substitutions]
# "/path/to/replace" = "string/symbol"
[docker_context]
disabled = false
symbol = " "
style = "bold bg:#444444 fg:blue"
format = "[[](bg:#444444 fg:#333333)[via](bg:#444444 fg:white) $symbol$context[](bg:#333333 fg:#444444)]($style)"
only_with_files = true
[dotnet]
disabled = false
format = "[[](bg:#444444 fg:#333333)$symbol$version( ﯑ $tfm)[](bg:#333333 fg:#444444)]($style)"
symbol = "•NET "
style = "bg:#444444 fg:blue"
heuristic = true
[elixir]
disabled = false
format = '[[](bg:#444444 fg:#333333)[via](bg:#444444 fg:white) $symbol$versi[on](bg:#444444 fg:white) \(OTP $otp_version\)[](bg:#333333 fg:#444444)]($style)'
symbol = " "
style = "bg:#444444 fg:purple"
[elm]
disabled = false
format = "[[](bg:#444444 fg:#333333)[via](bg:#444444 fg:white) $symbol$version[](bg:#333333 fg:#444444)]($style)"
symbol = " "
style = "bg:#444444 fg:cyan"
[env_var]
disabled = false
symbol = ""
style = "bold bg:#555555 fg:#000000"
# variable = ""
# default = ""
format = "([[](bg:#555555 fg:#333333)[with](bg:#555555 fg:white) $symbol$env_value[](bg:#333333 fg:#555555)]($style))"
[erlang]
disabled = false
format = "[[](bg:#444444 fg:#333333)[via](bg:#444444 fg:white) $symbol$version[](bg:#333333 fg:#444444)]($style)"
symbol = " "
style = "bg:#444444 fg:red"
[gcloud]
disabled = false
format = '[[](bg:#444444 fg:#333333)[on](bg:#444444 fg:white) $symbol$account(\($region\))[](bg:#333333 fg:#444444)]($style)'
symbol = " "
style = "bold bg:#444444 fg:blue"
[git_branch]
disabled = false
format = "[[](bg:#555555 fg:#333333)[on](bg:#555555 fg:white) $symbol$branch[](bg:#333333 fg:#555555)]($style)"
symbol = " "
style = "bold bg:#555555 fg:purple"
# truncation_length = 7 # default = 2^63 - 1
truncation_symbol = "…"
[git_commit]
disabled = false
commit_hash_length = 7
format = '[[](bg:#555555 fg:#333333)\($hash\)[](bg:#333333 fg:#555555)]($style)'
style = "bold bg:#555555 fg:green"
only_detached = true
[git_state]
disabled = false
rebase = "REBASING"
merge = "MERGING"
revert = "REVERTING"
cherry_pick = "CHERRY-PICKING"
bisect = "BISECTING"
am = "AM"
am_or_rebase = "AM/REBASE"
style = "bold bg:#555555 fg:yellow"
format = '\([[](bg:#555555 fg:#333333)$state( $progress_current/$progress_total )[](bg:#333333 fg:#555555)]($style)\)'
[git_status]
disabled = false
format = '([[](bg:#555555 fg:#333333)\[$all_status$ahead_behind\][](bg:#333333 fg:#555555)]($style))'
style = "bold bg:#555555 fg:red"
stashed = '\$'
ahead = "⇡"
behind = "⇣"
diverged = "⇕"
conflicted = "="
deleted = "✘"
renamed = "»"
modified = "!"
staged = "+"
untracked = "?"
[golang]
disabled = false
format = "[[](bg:#444444 fg:#333333)[via](bg:#444444 fg:white) $symbol$version[](bg:#333333 fg:#444444)]($style)"
symbol = " "
style = "bg:#444444 fg:cyan"
[helm]
disabled = false
format = "[[](bg:#444444 fg:#333333)[via](bg:#444444 fg:white) $symbol$version[](bg:#333333 fg:#444444)]($style)"
symbol = "⎈ "
style = "bg:#444444 fg:white"
[hostname]
disabled = false
ssh_only = true
trim_at = "."
format = "[[](bg:#555555 fg:#333333)($style)$hostname [in](bg:#555555 fg:white)[](bg:#333333 fg:#555555)]($style)"
style = "bold dimmed bg:#555555 fg:green"
[java]
disabled = false
## look for a dimmed variant
format = "[[](bg:#444444 fg:#333333)[via](bg:#444444 fg:white) $symbol$version[](bg:#333333 fg:#444444)]($style)"
style = "dimmed bg:#444444 fg:red"
symbol = " "
[jobs]
disabled = false
threshold = 1
format = "[[](bg:#555555 fg:#333333)$symbol$number[](bg:#333333 fg:#555555)]($style)"
symbol = "✦"
style = "bold bg:#555555 fg:blue"
[julia]
disabled = false
format = "[[](bg:#444444 fg:#333333)[via](bg:#444444 fg:white) $symbol$version[](bg:#333333 fg:#444444)]($style)"
symbol = " "
style = "bg:#444444 fg:purple"
[kubernetes]
disabled = true
symbol = "☸ "
format = '[[](bg:#444444 fg:#333333)$symbol$context( \($namespace\)) in[](bg:#333333 fg:#444444)]($style)'
style = "bold bg:#444444 fg:cyan"
[line_break]
disabled = true
[memory_usage]
disabled = true
threshold = 75
format = "[[](bg:#555555 fg:#333333)[via](bg:#555555 fg:white) $symbol$ram( | $swap)[](bg:#333333 fg:#555555)]($style)"
style = "bold dimmed bg:#555555 fg:white"
symbol = " "
# Mercurial
[hg_branch]
disabled = false
symbol = " "
style = "bg:#555555 fg:purple"
format = "[[](bg:#555555 fg:#333333)[on](bg:#555555 fg:white) $symbol$branch[](bg:#333333 fg:#555555)]($style)"
# truncation_length = 8 # default = 2^63 - 1
truncation_symbol = "…"
[nim]
disabled = false
format = "[[](bg:#444444 fg:#333333)[via](bg:#444444 fg:white) $symbol$version[](bg:#333333 fg:#444444)]($style)"
symbol = " "
style = "bg:#444444 fg:yellow"
[nix_shell]
disabled = false
format = '[[](bg:#555555 fg:#333333)[via](bg:#555555 fg:white) $symbol$state( \($name\))[](bg:#333333 fg:#555555)]($style)'
symbol = " "
style = "bold bg:#555555 fg:blue"
impure_msg = "impure"
pure_msg = "pure"
[nodejs]
disabled = false
format = "[[](bg:#444444 fg:#333333)[via](bg:#444444 fg:white) $symbol$version[](bg:#333333 fg:#444444)]($style)"
symbol = " "
style = "bg:#444444 fg:green"
[ocaml]
disabled = false
format = "[[](bg:#444444 fg:#333333)[via](bg:#444444 fg:white) $symbol$version[](bg:#333333 fg:#444444)]($style)"
symbol = "🐫 "
style = "bg:#444444 fg:yellow"
[package]
disabled = false
format = "[[](bg:#444444 fg:#333333)[is](bg:#444444 fg:white) $symbol$version[](bg:#333333 fg:#444444)]($style)"
symbol = " "
style = "bg:#444444 fg:208"
display_private = false
[perl]
disabled = false
symbol = " "
style = "bg:#444444 fg:149"
format = "[[](bg:#444444 fg:#333333)[via](bg:#444444 fg:white) $symbol$version[](bg:#333333 fg:#444444)]($style)"
[php]
disabled = false
symbol = " "
style = "bg:#444444 fg:147"
format = "[[](bg:#444444 fg:#333333)[via](bg:#444444 fg:white) $symbol$version[](bg:#333333 fg:#444444)]($style)"
[purescript]
disabled = false
format = "[[](bg:#444444 fg:#333333)[via](bg:#444444 fg:white) $symbol$version[](bg:#333333 fg:#444444)]($style)"
symbol = "<=> "
style = "bg:#444444 fg:white"
[python]
disabled = false
pyenv_version_name = false
pyenv_prefix = "pyenv "
python_binary = "python"
scan_for_pyfiles = true
format = '[[](bg:#444444 fg:#333333)[via](bg:#444444 fg:white) $symbol$pyenv_prefix$version( \($virtualenv\))[](bg:#333333 fg:#444444)]($style)'
style = "bg:#444444 fg:yellow"
symbol = " "
[ruby]
disabled = false
format = "[[](bg:#444444 fg:#333333)[via](bg:#444444 fg:white) $symbol$version[](bg:#333333 fg:#444444)]($style)"
symbol = " "
style = "bg:#444444 fg:red"
[rust]
disabled = false
format = "[[](bg:#444444 fg:#333333)[via](bg:#444444 fg:white) $symbol$version[](bg:#333333 fg:#444444)]($style)"
symbol = " "
style = "bg:#444444 fg:red"
[shlvl]
disabled = true
threshold = 2
format = "[[](bg:#555555 fg:#333333)$symbol$shlvl[](bg:#333333 fg:#555555)]($style)"
symbol = "↕"
style = "bold bg:#555555 fg:yellow"
[singularity]
disabled = false
format = '[[](bg:#444444 fg:#333333)$symbol\[$env\][](bg:#333333 fg:#444444)]($style)'
symbol = ""
style = "bold dimmed bg:#444444 fg:blue"
[swift]
disabled = false
format = "[[](bg:#444444 fg:#333333)[via](bg:#444444 fg:white) $symbol$version[](bg:#333333 fg:#444444)]($style)"
symbol = "ﯣ "
style = "bg:#444444 fg:202"
[status]
disabled = true
format = "[[](bg:#555555 fg:#333333)$symbol$status[](bg:#333333 fg:#555555)]($style)"
symbol = " ✖"
style = "bold bg:#555555 fg:red"
[terraform]
disabled = false
format = '[[](bg:#444444 fg:#333333)[via](bg:#444444 fg:white) $symbol\($workspace\)[](bg:#333333 fg:#444444)]($style)'
symbol = "ﰉ "
style = "bold bg:#444444 fg:105"
[time]
disabled = true
format = "[[](bg:#555555 fg:#333333)at $time[](bg:#333333 fg:#555555)]($style)"
style = "bold bg:#555555 fg:yellow"
use_12hr = false
time_format = ""
utc_time_offset = "local"
time_range = "-"
[username]
disabled = false
format = "[[](bg:#555555 fg:#333333)$user [in](bg:#555555 fg:white)[](bg:#333333 fg:#555555)]($style)"
style_root = "bold bg:#555555 fg:red"
style_user = "bold bg:#555555 fg:yellow"
show_always = false
[zig]
disabled = false
format = "[[](bg:#444444 fg:#333333)[via](bg:#444444 fg:white) $symbol$version[](bg:#333333 fg:#444444)]($style)"
symbol = "↯ "
style = "bg:#444444 fg:yellow"
#EOF.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment