Skip to content

Instantly share code, notes, and snippets.

@synmux
Created June 16, 2026 11:16
Show Gist options
  • Select an option

  • Save synmux/9f01ff1578181b78c970a00545720c44 to your computer and use it in GitHub Desktop.

Select an option

Save synmux/9f01ff1578181b78c970a00545720c44 to your computer and use it in GitHub Desktop.
cship config
[cship]
lines = [
"$starship_prompt",
"$cship.model $cship.cost $cship.context_bar $cship.usage_limits",
]
[cship.model]
symbol = "ο‹› "
style = "bold fg:#7aa2f7"
[cship.cost]
symbol = "πŸ’° "
style = "fg:#a9b1d6"
warn_threshold = 2.0
warn_style = "fg:#e0af68"
critical_threshold = 5.0
critical_style = "bold fg:#f7768e"
[cship.context_bar]
symbol = " "
format = "[$symbol$value]($style)"
width = 10
style = "fg:#7dcfff"
warn_threshold = 40.0
warn_style = "fg:#e0af68"
critical_threshold = 70.0
critical_style = "bold fg:#f7768e"
[cship.usage_limits]
five_hour_format = "βŒ› 5h {pct}%"
seven_day_format = "πŸ“… 7d {pct}%"
separator = " "
warn_threshold = 70.0
warn_style = "fg:#e0af68"
critical_threshold = 90.0
critical_style = "bold fg:#f7768e"
# [cship]
# lines = [
# """
# $directory\
# $git_branch\
# $git_status\
# $python\
# $nodejs\
# $rust
# """,
# "$cship.model $cship.cost $cship.context_bar $cship.usage_limits",
# ]
# [cship.model]
# symbol = "ο‹› "
# style = "bold fg:#7aa2f7"
# [cship.cost]
# symbol = "πŸ’° "
# style = "fg:#a9b1d6"
# warn_threshold = 2.0
# warn_style = "fg:#e0af68"
# critical_threshold = 5.0
# critical_style = "bold fg:#f7768e"
# [cship.context_bar]
# symbol = " "
# format = "[$symbol$value]($style)"
# width = 10
# style = "fg:#7dcfff"
# warn_threshold = 40.0
# warn_style = "fg:#e0af68"
# critical_threshold = 70.0
# critical_style = "bold fg:#f7768e"
# [cship.usage_limits]
# five_hour_format = "βŒ› 5h {pct}%"
# seven_day_format = "πŸ“… 7d {pct}%"
# separator = " "
# warn_threshold = 40.0
# warn_style = "fg:#e0af68"
# critical_threshold = 70.0
# critical_style = "bold fg:#f7768e"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment