Skip to content

Instantly share code, notes, and snippets.

@avinal
Last active May 4, 2022 21:20
Show Gist options
  • Save avinal/dee7eb3559a12acd22b8c65ffbef31a5 to your computer and use it in GitHub Desktop.
Save avinal/dee7eb3559a12acd22b8c65ffbef31a5 to your computer and use it in GitHub Desktop.
# starship configurations
# ~/.config/starship.toml
# Which is equivalent to
format = """
$username\
$hostname\
$localip\
$kubernetes\
$directory\
$vcsh\
[](bg:#FCA17D fg:#DA627D)\
$git_branch\
$git_commit\
$git_state\
$git_metrics\
[](fg:#FCA17D bg:#86BBD8)\
$git_status\
$hg_branch\
$docker_context\
$package\
$container\
$nix_shell\
$conda\
$memory_usage\
$gcloud\
$openstack\
$env_var\
[](fg:#86BBD8)\
$custom\
$fill \
$cmd_duration\
$battery\
$sudo\
[](fg:#33658A)\
$time\
$jobs\
$status\
$shell\
$line_break\
$character
"""
[fill]
symbol = " "
# Disable the blank line at the start of the prompt
# add_newline = false
# You can also replace your username with a neat symbol like  to save some space
[username]
show_always = false
style_user = "bg:#9A348E"
style_root = "bg:#9A348E"
format = '[>_ ]($style)'
[directory]
style = "bold bg:#DA627D"
format = "[ $path ]($style)"
[git_branch]
# symbol = ""
style = "bold bg:#FCA17D"
format = '[[ $branch ](bg:#FCA17D)]($style)'
[git_status]
renamed = "R$count "
deleted = "[D$count ](red bg:#86BBD8)"
untracked = "U$count "
modified = "M$count "
staged = '[+$count ](green bg:#86BBD8)'
style = "bold bg:#86BBD8"
format = '[[( $all_status$ahead_behind )](bg:#86BBD8)]($style)'
[time]
disabled = false
time_format = "%R" # Hour:Minute Format
style = "bg:#33658A"
format = '[[ $time ](bg:#33658A)]($style)'
[character]
success_symbol = "[➜](bold green) "
error_symbol = "[✗](bold red) "
[[battery.display]]
threshold = 20
style = "bold red"
[cmd_duration]
format = "[$duration ](green)"
[hostname]
ssh_only = true
[kubernetes]
disabled = true
[hg_branch]
disabled = true
[sudo]
format = "[$symbol]($style)"
disabled = false
[terraform]
disabled = true
# disabled modules
[aws]
disabled = true
[azure]
disabled = true
[cobol]
disabled = true
[crystal]
disabled = true
[dart]
disabled = true
[deno]
disabled = true
[dotnet]
disabled = true
[elixir]
disabled = true
[elm]
disabled = true
[gcloud]
disabled = true
[julia]
disabled = true
[kotlin]
disabled = true
[ocaml]
disabled = true
[pulumi]
disabled = true
[purescript]
disabled = true
[red]
disabled = true
[ruby]
disabled = true
[scala]
disabled = true
[shlvl]
disabled = true
[vlang]
disabled = true
[zig]
disabled = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment