dotfiles
- 28 commits
- 1 branch
- 0 tags
- updated
- CI 1/1
starship.toml
1.3 KB · 47 lines
1# two lines, laid out like warp's prompt: venv (when active), full path, git:(branch), time taken.2# colors are ansi names, so the prompt follows the terminal's theme.3"$schema" = 'https://starship.rs/config-schema.json'4add_newline = true5format = '''6$python$directory$git_branch$git_state$git_status$cmd_duration7$character'''89[python]10# only the venv name, and only while one is active (no python version lookup)11detect_extensions = []12detect_files = []13detect_folders = []14style = 'bright-black'15format = '([$virtualenv]($style) )'1617[directory]18style = 'blue'19truncation_length = 020truncate_to_repo = false21format = '[$path]($style)[$read_only]($read_only_style) '2223[git_branch]24format = '[git:\(](bright-black)[$branch](purple)[\)](bright-black)'2526[git_state]27style = 'bright-black'28format = ' \([$state( $progress_current/$progress_total)]($style)\)'2930[git_status]31# * when anything changed: each state is a zero-width space, so the group only shows when one is set32format = '( [*$conflicted$untracked$modified$staged$renamed$deleted](yellow))( [$ahead_behind$stashed](cyan)) '33conflicted = ""34untracked = ""35modified = ""36staged = ""37renamed = ""38deleted = ""39stashed = '≡'4041[cmd_duration]42style = 'bright-black'43format = '[$duration]($style) '4445[character]46success_symbol = '[❯](purple)'47error_symbol = '[❯](red)'