Skip to content

Instantly share code, notes, and snippets.

@Fausto95
Created November 28, 2022 08:38
Show Gist options
  • Select an option

  • Save Fausto95/0a55f5ed6304755f4cdf1e985f3988b1 to your computer and use it in GitHub Desktop.

Select an option

Save Fausto95/0a55f5ed6304755f4cdf1e985f3988b1 to your computer and use it in GitHub Desktop.

Revisions

  1. Fausto95 created this gist Nov 28, 2022.
    58 changes: 58 additions & 0 deletions starship.toml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,58 @@
    # Get editor completions based on the config schema
    "$schema" = 'https://starship.rs/config-schema.json'

    # Inserts a blank line between shell prompts
    add_newline = true

    # Replace the "❯" symbol in the prompt with "➜"
    [character] # The name of the module we are configuring is "character"
    success_symbol = "[➜](bold green)" # The "success_symbol" segment is being set to "➜" with the color "bold green"

    # Disable the package module, hiding it from the prompt completely
    [package]
    disabled = true

    [battery]
    full_symbol = "🔋 "
    charging_symbol = "⚡️ "
    discharging_symbol = "💀 "

    [git_branch]
    symbol = "🌱 "
    truncation_length = 4
    truncation_symbol = ""
    ignore_branches = ["master", "main"]

    [git_commit]
    commit_hash_length = 4
    tag_symbol = "🔖 "

    [git_state]
    format = '[\($state( $progress_current of $progress_total)\)]($style) '
    cherry_pick = "[🍒 PICKING](bold red)"


    [git_metrics]
    added_style = "bold blue"
    format = "[+$added]($added_style)/[-$deleted]($deleted_style) "


    [git_status]
    conflicted = "🏳"
    ahead = "🏎💨"
    behind = "😰"
    diverged = "😵"
    up_to_date = ""
    untracked = "🤷"
    stashed = "📦"
    modified = "📝"
    staged = '[++\($count\)](green)'
    renamed = "👅"
    deleted = "🗑"


    [nodejs]
    format = "via [🤖 $version](bold green) "

    [ruby]
    symbol = "🔺 "