Skip to content

Instantly share code, notes, and snippets.

@yashi
Last active April 11, 2025 08:01
Show Gist options
  • Save yashi/85e6df9f8874c386010fb31d8ef7683d to your computer and use it in GitHub Desktop.
Save yashi/85e6df9f8874c386010fb31d8ef7683d to your computer and use it in GitHub Desktop.
Starship prompt configuration file
format = """
[╭─ ](cyan)\
$username\
$hostname\
$container\
$git_branch\
$git_status\
$git_commit\
$fill\
$cmd_duration\
$python\
$directory\
$line_break\
[╰─ ](cyan)\
$time\
$character\
"""
command_timeout = 1000
[character]
success_symbol = '[❯](bold #00ff00)'
error_symbol = '[❯](bold #ff0000)'
[cmd_duration]
style = 'blue'
format = ' [$duration]($style)'
[directory]
style = 'white'
format =' [$path]($style)[$read_only]($read_only_style) '
truncation_length = 0
truncate_to_repo = false
[fill]
style = 'bold cyan'
symbol = '─'
[git_branch]
style = '#00ff00'
format = '[$branch(:$remote_branch)]($style) '
only_attached = true
[git_commit]
style = '#00ff00'
format = '@[$hash$tag]($style) '
[git_status]
format = '([$all_status$ahead_behind]($style) )'
stashed = '📦${count}'
[hostname]
disabled = false
ssh_only = false
format = '[$ssh_symbol](bold blue)[@](green)[$hostname](green) '
[python]
style = 'cyan'
format = ' [${symbol}${pyenv_prefix}(${version} )($virtualenv)]($style)'
detect_files = []
detect_extensions = []
[time]
disabled = false
style = 'yellow'
format = '[$time]($style) '
[username]
show_always = true
style_user = 'green'
style_root = 'black bold'
format = '[$user]($style)'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment