81 lines
2.0 KiB
TOML
81 lines
2.0 KiB
TOML
# =============================================================================
|
|
# ~/.config/starship.toml — Starship prompt configuration
|
|
# Managed by dotfiles ( ~/.config/fish/config.fish )
|
|
# Manual changes will be overwritten when `dotfiles update` is run.
|
|
# To customise, edit this template at:
|
|
# ~/.config/fish/dotfiles/starship.toml
|
|
# then run `dotfiles update starship`.
|
|
# =============================================================================
|
|
|
|
# ── Appearance ───────────────────────────────────────────────────────────────
|
|
format = """
|
|
[░▒▓](#a6adc8)\
|
|
$os\
|
|
$username\
|
|
$hostname\
|
|
$directory\
|
|
$git_branch\
|
|
$git_status\
|
|
$git_commit\
|
|
$git_state\
|
|
$nodejs\
|
|
$python\
|
|
$rust\
|
|
$c\
|
|
$docker_context\
|
|
$cmd_duration\
|
|
$line_break\
|
|
$character"""
|
|
|
|
right_format = """$time"""
|
|
|
|
# ── Modules ──────────────────────────────────────────────────────────────────
|
|
[character]
|
|
success_symbol = "[▶](bold green)"
|
|
error_symbol = "[▶](bold red)"
|
|
|
|
[directory]
|
|
truncation_length = 3
|
|
truncate_to_repo = true
|
|
|
|
[git_branch]
|
|
format = " on [$branch](bold purple)"
|
|
truncation_length = 20
|
|
|
|
[git_status]
|
|
conflicted = "🏳"
|
|
ahead = "⇡\${count}"
|
|
behind = "⇣\${count}"
|
|
diverged = "⇕\${ahead_count}⇣\${behind_count}"
|
|
stashed = "📦"
|
|
renamed = "📝"
|
|
|
|
[nodejs]
|
|
format = "via [⬢ $version](bold green)"
|
|
|
|
[python]
|
|
format = "via [🐍 $version](bold yellow)"
|
|
|
|
[rust]
|
|
format = "via [🦀 $version](bold red)"
|
|
|
|
[cmd_duration]
|
|
show_milliseconds = true
|
|
min_time = 500
|
|
|
|
[time]
|
|
disabled = false
|
|
format = "🕙 $time"
|
|
time_format = "%H:%M"
|
|
style = "bold bright-white"
|
|
|
|
[os]
|
|
disabled = false
|
|
style = "bold white"
|
|
format = "[$symbol]"
|
|
|
|
[os.symbols]
|
|
windows = "🪟"
|
|
macos = "🍎"
|
|
linux = "🐧"
|