Created
April 21, 2026 19:09
-
-
Save ajardin/b9ca4803b6f00e27c541cdfd171bdf0f to your computer and use it in GitHub Desktop.
Starship config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # ================================================== | |
| # Starship Prompt Configuration | |
| # ================================================== | |
| add_newline = true | |
| command_timeout = 500 | |
| format = """ | |
| $time $directory $git_branch $git_metrics\ | |
| $line_break\ | |
| $character""" | |
| # -------------------------------------------------- | |
| # Heure | |
| # -------------------------------------------------- | |
| [time] | |
| disabled = false | |
| format = '[\[$time\]](dimmed white)' | |
| time_format = "%H:%M" | |
| # -------------------------------------------------- | |
| # Répertoire | |
| # -------------------------------------------------- | |
| [directory] | |
| format = "[$path]($style)" | |
| style = "bold cyan" | |
| truncation_length = 3 | |
| truncate_to_repo = true | |
| read_only = " 🔒" | |
| # -------------------------------------------------- | |
| # Git — Branche | |
| # -------------------------------------------------- | |
| [git_branch] | |
| format = "[ $branch(:$remote_branch)]($style)" | |
| style = "bold purple" | |
| # -------------------------------------------------- | |
| # Git — Métriques (insertions/deletions) | |
| # -------------------------------------------------- | |
| [git_metrics] | |
| disabled = false | |
| format = '([+$added]($added_style)) ([-$deleted]($deleted_style))' | |
| added_style = "bold green" | |
| deleted_style = "bold red" | |
| # -------------------------------------------------- | |
| # Indicateur de prompt | |
| # -------------------------------------------------- | |
| [character] | |
| success_symbol = "[❯](boldwhite)" | |
| error_symbol = "[❯](bol white)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment