Skip to content

Instantly share code, notes, and snippets.

@jasonmorganson
Created December 14, 2022 21:55

Revisions

  1. jasonmorganson created this gist Dec 14, 2022.
    46 changes: 46 additions & 0 deletions starship.toml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,46 @@
    format = """
    $username\
    $hostname\
    $directory\
    $git_branch\
    $git_state\
    $git_status\
    $cmd_duration\
    $line_break\
    $python\
    $character"""

    [directory]
    style = "blue"

    [character]
    success_symbol = "[❯](purple)"
    error_symbol = "[❯](red)"
    vicmd_symbol = "[❮](green)"

    [git_branch]
    format = "[$branch]($style)"
    style = "bright-black"

    [git_status]
    format = "[[(*$conflicted$untracked$modified$staged$renamed$deleted)](218) ($ahead_behind$stashed)]($style)"
    style = "cyan"
    conflicted = ""
    untracked = ""
    modified = ""
    staged = ""
    renamed = ""
    deleted = ""
    stashed = ""

    [git_state]
    format = '\([$state( $progress_current/$progress_total)]($style)\) '
    style = "bright-black"

    [cmd_duration]
    format = "[$duration]($style) "
    style = "yellow"

    [python]
    format = "[$virtualenv]($style) "
    style = "bright-black"