mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-01-26 11:14:08 +00:00
156 lines
2.7 KiB
TOML
156 lines
2.7 KiB
TOML
# Get editor completions based on the config schema
|
|
"$schema" = 'https://starship.rs/config-schema.json'
|
|
|
|
format = """
|
|
$os\
|
|
$directory\
|
|
$git_branch\
|
|
$git_state\
|
|
$git_status\
|
|
$fill \
|
|
$battery\
|
|
$username\
|
|
$hostname\
|
|
$aws\
|
|
$gcloud\
|
|
$conda\
|
|
$golang\
|
|
$nodejs\
|
|
$php\
|
|
$python\
|
|
$package\
|
|
$line_break\
|
|
$character"""
|
|
|
|
# Timeout for commands executed by starship (in milliseconds).
|
|
command_timeout = 1500
|
|
|
|
[character]
|
|
success_symbol = "[→](bold green)"
|
|
error_symbol = "[→](red)"
|
|
vimcmd_symbol = "[←](green)"
|
|
|
|
[aws]
|
|
symbol = " "
|
|
format = '[$symbol($profile )(\($region\) )(\[$duration\] )]($style)'
|
|
|
|
[cmd_duration]
|
|
disabled = true
|
|
|
|
[directory]
|
|
read_only = " "
|
|
style = "blue"
|
|
before_repo_root_style = "white"
|
|
truncation_symbol = "…/"
|
|
|
|
[docker_context]
|
|
symbol = " "
|
|
format = '[$symbol$context]($style) '
|
|
|
|
[fill]
|
|
symbol = '·'
|
|
style = 'bold black'
|
|
|
|
[gcloud]
|
|
format = '[($symbol)$account(@$domain)(\($region\))]($style) '
|
|
|
|
[git_branch]
|
|
symbol = " "
|
|
format = '[$symbol$branch(:$remote_branch)]($style) '
|
|
truncation_length = 20
|
|
truncation_symbol = '…'
|
|
ignore_branches = ['master', 'main']
|
|
|
|
[git_status]
|
|
up_to_date = '✓'
|
|
staged = '[++\($count\)](green)'
|
|
|
|
[git_state]
|
|
format = '\([$state( $progress_current/$progress_total)]($style)\) '
|
|
style = "bright-black"
|
|
|
|
[git_metrics]
|
|
added_style = 'bold blue'
|
|
format = '[+$added]($added_style)/[-$deleted]($deleted_style) '
|
|
disabled = false
|
|
|
|
[golang]
|
|
symbol = " "
|
|
format = '[$symbol($version )]($style) '
|
|
|
|
[hostname]
|
|
ssh_symbol = " "
|
|
ssh_only = false
|
|
format = '[$ssh_symbol](bold blue)[$hostname](bold red) '
|
|
|
|
[lua]
|
|
format = '[$symbol($version )]($style)'
|
|
|
|
[nodejs]
|
|
symbol = " "
|
|
format = '[$symbol($version )]($style)'
|
|
version_format = '${major}.${minor}'
|
|
|
|
[os]
|
|
format = "[$symbol]($style) "
|
|
style = "bold blue"
|
|
disabled = false
|
|
|
|
[os.symbols]
|
|
Alpaquita = " "
|
|
Alpine = " "
|
|
Amazon = " "
|
|
Android = " "
|
|
Arch = " "
|
|
Artix = " "
|
|
CentOS = " "
|
|
Debian = " "
|
|
DragonFly = " "
|
|
Emscripten = " "
|
|
EndeavourOS = " "
|
|
Fedora = " "
|
|
FreeBSD = " "
|
|
Garuda = " "
|
|
Gentoo = " "
|
|
HardenedBSD = " "
|
|
Illumos = " "
|
|
Linux = " "
|
|
Mabox = " "
|
|
Macos = " "
|
|
Manjaro = " "
|
|
Mariner = " "
|
|
MidnightBSD = " "
|
|
Mint = " "
|
|
NetBSD = " "
|
|
NixOS = " "
|
|
OpenBSD = " "
|
|
openSUSE = " "
|
|
OracleLinux = " "
|
|
Pop = " "
|
|
Raspbian = " "
|
|
Redhat = " "
|
|
RedHatEnterprise = " "
|
|
Redox = " "
|
|
Solus = " "
|
|
SUSE = " "
|
|
Ubuntu = " "
|
|
Unknown = " "
|
|
Windows = " "
|
|
|
|
[package]
|
|
symbol = " "
|
|
format = '[$symbol($version )]($style)'
|
|
version_format = '${major}.${minor}'
|
|
|
|
[php]
|
|
format = '[$symbol($version )]($style)'
|
|
version_format = '${major}.${minor}'
|
|
|
|
[python]
|
|
symbol = " "
|
|
format = "[$virtualenv]($style) "
|
|
|
|
[username]
|
|
format = "[$user]($style) "
|
|
|