Skip to content

Instantly share code, notes, and snippets.

@alsolovyev
Last active February 19, 2024 17:00
Show Gist options
  • Save alsolovyev/ad5b14352fcb3c9c50a5c66d2e0d5791 to your computer and use it in GitHub Desktop.
Save alsolovyev/ad5b14352fcb3c9c50a5c66d2e0d5791 to your computer and use it in GitHub Desktop.
Configuration file for starship prompt with catppuccin (mocha) color scheme
"$schema"="https://starship.rs/config-schema.json"
format = """
$python\
$username\
$hostname\
$directory\
$git_branch\
$git_commit\
$git_state\
$git_status\
$sudo\
$status\
$character"""
#right_format="""
#$cmd_duration"""
add_newline=false
command_timeout=1000
[character]
success_symbol = "[➜](bold fg:green)"
error_symbol = "[✖](bold fg:red)"
vimcmd_symbol = "[](bold fg:creen)"
vimcmd_replace_one_symbol = "[](bold fg:purple)"
vimcmd_replace_symbol = "[](bold fg:purple)"
vimcmd_visual_symbol = "[](bold fg:lavender)"
[directory]
truncation_symbol = "…/"
style="bold green"
[git_branch]
symbol = ""
#truncation_length = 24
format="[[$symbol $branch(:$remote_branch)](bold fg:mauve)]($style) "
[git_status]
deleted = ""
format = "[($all_status$ahead_behind )]($style)"
[cmd_duration]
format="[$duration]($style)"
[python]
format="[( ${virtualenv} )]($style)"
style="black bold dimmed"
[palettes.catppuccin_mocha]
rosewater = "#f5e0dc"
flamingo = "#f2cdcd"
pink = "#f5c2e7"
mauve = "#cba6f7"
red = "#f38ba8"
maroon = "#eba0ac"
peach = "#fab387"
yellow = "#f9e2af"
green = "#a6e3a1"
teal = "#94e2d5"
sky = "#89dceb"
sapphire = "#74c7ec"
blue = "#89b4fa"
lavender = "#b4befe"
text = "#cdd6f4"
subtext1 = "#bac2de"
subtext0 = "#a6adc8"
overlay2 = "#9399b2"
overlay1 = "#7f849c"
overlay0 = "#6c7086"
surface2 = "#585b70"
surface1 = "#45475a"
surface0 = "#313244"
base = "#1e1e2e"
mantle = "#181825"
crust = "#11111b"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment