Skip to content

Instantly share code, notes, and snippets.

@sidneyspe
Created April 15, 2023 14:07
Show Gist options
  • Save sidneyspe/f3e4bf07eba073ce4222ecab04e634d9 to your computer and use it in GitHub Desktop.
Save sidneyspe/f3e4bf07eba073ce4222ecab04e634d9 to your computer and use it in GitHub Desktop.
starship configuration windows
# 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'
error_symbol = '[✗](bold red) '
# Disable the package module, hiding it from the prompt completely
[package]
disabled = true
[dart]
format = 'via [🔰 $version](bold red) '
[deno]
format = 'via [🦕 $version](green bold) '
[docker_context]
format = 'via [🐋 $context](blue bold)'
[dotnet]
symbol = '🥅 '
style = 'green'
heuristic = false
[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_status]
conflicted = '🏳'
ahead = '🏎💨'
behind = '😰'
diverged = '😵'
up_to_date = '✓'
untracked = '🤷'
stashed = '📦'
modified = '📝'
staged = '[++\($count\)](green)'
renamed = '👅'
deleted = '🗑'
[java]
symbol = '🌟 '
[kotlin]
symbol = '🅺 '
kotlin_binary = 'kotlinc'
[nodejs]
format = 'via [🤖 $version](bold green) '
[python]
symbol = '👾 '
pyenv_version_name = true
python_binary = 'python3'
detect_extensions = []
[terraform]
format = '[🏎💨 $version$workspace]($style) '
[username]
style_user = 'white bold'
style_root = 'black bold'
format = '[$user]($style) '
disabled = false
show_always = true
@sidneyspe
Copy link
Author

please, create a file in: ~/.config/starship.toml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment