Last active
January 21, 2026 18:40
-
-
Save sttamper/ff69056e8cb94be9397a2c5508e57018 to your computer and use it in GitHub Desktop.
The best starship configuration ever
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
| "$schema" = 'https://starship.rs/config-schema.json' | |
| format = """ | |
| $directory$git_branch$git_status$fill$aws$nodejs$java$gradle$custom | |
| $os$character | |
| """ | |
| [fill] | |
| symbol = ' ' | |
| [directory] | |
| format = '[ $path ]($style)[$read_only]($read_only_style)' | |
| style = 'bg:blue' | |
| read_only_style = 'bg:red' | |
| truncate_to_repo = true | |
| truncation_length = 1 | |
| [git_branch] | |
| format = '[ $symbol$branch ]($style)' | |
| style = 'bg:green' | |
| [git_status] | |
| format = '[$all_status$ahead_behind](bg:green)' | |
| conflicted = '[ = ](bg:yellow bold)' | |
| ahead = '[ ⇡ ](bg:yellow bold)' | |
| behind = '[ ⇣ ](bg:yellow bold)' | |
| diverged = '[ ⇕ ](bg:yellow bold)' | |
| up_to_date = '' | |
| untracked = '[ ? ](bg:yellow bold)' | |
| stashed = '[ \$ ](bg:yellow bold)' | |
| modified = '[ ! ](bg:yellow bold)' | |
| staged = '[ + ](bg:yellow bold)' | |
| renamed = '[ » ](bg:yellow bold)' | |
| deleted = '[ ✘ ](bg:yellow bold)' | |
| typechanged = "" | |
| [aws] | |
| format = '[ $symbol $profile $region ]($style)' | |
| symbol = ' ' | |
| [nodejs] | |
| format = '[ $symbol$version ](bg:cyan bold)' | |
| version_format = '${raw}' | |
| [custom.npm] | |
| command = "npm -v" | |
| when = "test -f package.json" | |
| format = "[ $symbol $output ](bg:yellow bold)" | |
| symbol = '' | |
| [custom.yarn] | |
| command = "yarn -v" | |
| when = "test -f yarn.lock" | |
| format = "[ $symbol $output ](bg:cyan bold)" | |
| symbol = '' | |
| [java] | |
| format = '[ $symbol $version ]($style)' | |
| version_format = '${raw}' | |
| style = 'bg:red bold' | |
| symbol = '' | |
| [gradle] | |
| format = '[ $symbol $version ](bg:cyan bold)' | |
| version_format = '${raw}' | |
| symbol = '' | |
| [custom.jreleaser] | |
| command = "jreleaser --version 2>&1 | grep '^jreleaser ' | awk '{print $2}'" | |
| when = "test -f jreleaser.yml" | |
| format = '[ Jr: $output ](bg:red bold)' | |
| [os] | |
| format = '[$symbol ]($style)' | |
| disabled = false | |
| [os.symbols] | |
| Macos = '' | |
| [character] | |
| success_symbol = "[❯](bold default)" | |
| error_symbol = '[✗](bold red) ' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment