Skip to content

Instantly share code, notes, and snippets.

@yingzwang
Last active September 1, 2023 08:54
Show Gist options
  • Save yingzwang/d511815ba859df6ab7d9cade9df3bf15 to your computer and use it in GitHub Desktop.
Save yingzwang/d511815ba859df6ab7d9cade9df3bf15 to your computer and use it in GitHub Desktop.
starship
# example ~/.config/starship.toml
# Don't print a new line at the start of the prompt
add_newline = false
format = """
$directory\
$aws\
$git_branch\
$git_status\
$character"""
[aws]
format = "[$symbol$profile]($style) "
symbol = "☁ "
[git_branch]
format = "[$symbol$branch]($style) "
symbol = "🎈"
[git_status]
format = "[$all_status$ahead_behind]($style) "
untracked = "[●](red)"
modified = "[●](yellow)"
staged = "[●](green)"
deleted = "πŸ—‘οΈ"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment