# Get editor completions based on the config schema "$schema" = 'https://starship.rs/config-schema.json' # Which is equivalent to format = """ {{ if eq .chezmoi.os "windows" }}|{{ else }}┏{{ end }} $status\ $fill\ $cmd_duration\ $line_break\ {{ if eq .chezmoi.os "windows"}}|{{ else }}┃{{ end }} $username\ $hostname\ $time\ $directory\ $git_branch\ $git_commit\ $git_state\ $git_status\ $fill\ $java\ $rust\ $lua\ $line_break\ {{ if eq .chezmoi.os "windows"}}|{{ else }}┗{{ end }} \ $jobs\ $shlvl$character\ $line_break""" continuation_prompt = "[󱞩 ](white dimmed)" [cmd_duration] min_time = 1 show_milliseconds = true format = "took [$duration]($style)" style = "yellow" [status] format = "[$symbol exited with code $status (\\(SIG$signal_name\\))]($style)" style = "yellow" symbol = "[](bold red)" not_executable_symbol = "[](bold red)" not_found_symbol = "[󰍉](purple)" success_symbol = "[󰄬](bold green)" sigint_symbol = "[](bold yellow)" signal_symbol = "[󱐋](bold purple)" recognize_signal_code = true map_symbol = true pipestatus = true disabled = false [username] show_always = true style_root = "red inverted" style_user = "cyan" format = "[$user]($style)" [hostname] ssh_only = false style = "green" ssh_symbol = "󰖟" format = "@[$ssh_symbol$hostname]($style) " [directory] truncation_length = 4 truncate_to_repo = true format = "[$path]($style)[ $read_only]($read_only_style)" style = "yellow" read_only = "󰌾" truncation_symbol = ".../" use_logical_path = true [git_branch] always_show_remote = false symbol = "󰘬" style = "green bold" format = "[$symbol $branch(:$remote_branch)]($style) " [git_state] style = "red bold" [git_commit] style = "blue" only_detached = false tag_disabled = false tag_symbol = " 󰌕 " format = "[($hash$tag)]($style) " [git_status] format = "([$all_status$ahead_behind]($style) )" conflicted = " $count " ahead = " $count " behind = " $count " diverged = " $behind_count behind, $ahead_count ahead " renamed = " $count " deleted = "󰧧 $count " modified = " $count " staged = " $count " style = "red" [java] format = "[Java (${version} )]($style)" style = "purple" [rust] format = "[Rust (${version} )]($style)" style = "purple" [lua] format = "[Lua (${version} )]($style)" style = "purple" [fill] symbol = " " [jobs] symbol = "+" style = "blue" format = "[$symbol$number]($style) " [time] disabled = false style = "yellow dimmed" [shlvl] threshold = 0 format = '[$symbol]($style) ' symbol = '}' repeat = true repeat_offset = 1 style = "white" disabled = false [character] {{ if eq .chezmoi.os "windows" -}} success_symbol = "[>](green)" error_symbol = "[>](purple)" {{ else -}} success_symbol = "[󰅂](green)" error_symbol = "[󰅂](purple)" {{ end -}}