Skip to content

Instantly share code, notes, and snippets.

@mattbailey
Created March 13, 2023 16:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mattbailey/f8a66e7fa16198cec689a6e3895ab50c to your computer and use it in GitHub Desktop.
Save mattbailey/f8a66e7fa16198cec689a6e3895ab50c to your computer and use it in GitHub Desktop.
# Get editor completions based on the config schema
"$schema" = 'https://starship.rs/config-schema.json'
command_timeout = 1000
format = """
$cmd_duration\
$hostname\
${custom.pwd}\
${line_break}\
$time\
$status\
[ ](fg:bold green)\
"""
[custom.pwd]
command = "prompt_pwd -d1 -D2"
when = "true"
style = "fg:yellow"
format = "[ $output ]($style)"
[custom.utc]
command = "TZ=Etc/UTC date +%Y-%m-%dT%H:%M:%S"
when = "true"
style = "fg:#33658A"
format = "[  $output ]($style)"
# You can also replace your username with a neat symbol like  to save some space
[username]
show_always = true
style_user = "bg:#86BBD8"
style_root = "bg:#86BBD8"
format = '[ $user ]($style)'
[hostname]
ssh_symbol = "  "
style = "fg:bold blue"
format = "[$ssh_symbol$hostname]($style)"
[directory]
disabled = true
[hg_branch]
style = "bg:#FCA17D fg:#000000"
format = "[ $branch]($style)"
disabled = true
[time]
disabled = false
time_format = "%a %m/%d %r"
use_12hr = true
style = "fg:bold orange"
format = '[$time ]($style)'
[cmd_duration]
style = "fg:bold red"
format = '[$duration]($style)'
[status]
style = ""
success_symbol = ""
symbol = ""
not_executable_symbol = " "
not_found_symbol = " "
sigint_symbol = ""
signal_symbol = " "
pipestatus = true
pipestatus_format = '[$pipestatus]  [$symbol$common_meaning$signal_name$maybe_int]($style) '
format = '[$symbol$common_meaning$signal_name$maybe_int]($style) '
map_symbol = true
disabled = false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment