|
1 | 1 | # Starship prompt configuration |
2 | | -# Install: curl -sS https://starship.rs/install.sh | sh |
| 2 | +command_timeout = 30000 |
3 | 3 |
|
| 4 | +# Clean, informative format |
4 | 5 | format = """ |
5 | | -[┌───────────────────>](bold green) |
6 | | -[│](bold green)$username$hostname$directory$git_branch$git_status |
7 | | -[└─>](bold green) """ |
8 | | - |
9 | | -[directory] |
10 | | -style = "blue bold" |
11 | | -truncation_length = 3 |
12 | | -truncate_to_repo = true |
| 6 | +$username[@](bold green)$hostname in $directory $git_branch$git_status$python |
| 7 | +$character""" |
13 | 8 |
|
14 | 9 | # =================================== |
15 | | -# USERNAME - Always show for VM clarity |
| 10 | +# USERNAME & HOSTNAME |
16 | 11 | # =================================== |
17 | 12 | [username] |
18 | | -show_always = true # Show even when not SSH'd in |
19 | | -format = "[$user]($style)" # Format: username only |
20 | | -style_user = "bold yellow" # Yellow for regular users |
21 | | -style_root = "bold red" # Red for root (warning!) |
| 13 | +show_always = true |
| 14 | +format = "[$user]($style)" |
| 15 | +style_user = "bold yellow" |
| 16 | +style_root = "bold red" |
22 | 17 | disabled = false |
23 | 18 |
|
24 | | -# =================================== |
25 | | -# HOSTNAME - Always show for VM clarity |
26 | | -# =================================== |
27 | 19 | [hostname] |
28 | | -ssh_only = false # Show even when not SSH'd in |
29 | | -format = "[@$hostname](bold green) " # Format: @hostname with space |
30 | | -trim_at = "." # Remove domain suffix |
| 20 | +ssh_only = false |
| 21 | +format = "[$hostname](bold green)" |
| 22 | +trim_at = "." |
31 | 23 | disabled = false |
32 | 24 |
|
| 25 | +# =================================== |
| 26 | +# DIRECTORY |
| 27 | +# =================================== |
| 28 | +[directory] |
| 29 | +style = "blue bold" |
| 30 | +truncation_length = 3 |
| 31 | +truncate_to_repo = true |
| 32 | +fish_style_pwd_dir_length = 1 |
| 33 | + |
| 34 | +# =================================== |
| 35 | +# GIT |
| 36 | +# =================================== |
33 | 37 | [git_branch] |
34 | | -symbol = " " |
| 38 | +symbol = "🌿 " |
35 | 39 | style = "bold purple" |
36 | 40 |
|
37 | 41 | [git_status] |
38 | 42 | style = "red bold" |
39 | | -# Accessible text-based indicators (emojis preserved as comments below) |
40 | | -conflicted = "[CONFLICT$count] " |
41 | | -ahead = "[↑$count]" |
42 | | -behind = "[↓$count]" |
43 | | -diverged = "[↕↑$ahead_count↓$behind_count]" |
44 | | -untracked = "[?$count]" |
45 | | -stashed = "[STASH$count]" |
46 | | -modified = "[M$count]" |
47 | | -staged = '[+$count](green)' |
48 | | -renamed = "[R$count]" |
49 | | -deleted = "[-$count]" |
50 | | -# Original emoji versions (uncomment to restore): |
51 | | -# conflicted = "⚔️ " |
52 | | -# ahead = "⇡${count}" |
53 | | -# behind = "⇣${count}" |
54 | | -# diverged = "⇕⇡${ahead_count}⇣${behind_count}" |
55 | | -# untracked = "🤷 " |
56 | | -# stashed = "📦" |
57 | | -# modified = "📝" |
58 | | -# staged = '[++\($count\)](green)' |
59 | | -# renamed = "👅" |
60 | | -# deleted = "🗑" |
| 43 | +format = '([\[$all_status$ahead_behind\]]($style) )' |
| 44 | +conflicted = "CONFLICT" |
| 45 | +ahead = "⇡${count}" |
| 46 | +staged = "+${count}" |
| 47 | +renamed = "R${count}" |
| 48 | +deleted = "-${count}" |
61 | 49 |
|
| 50 | +# =================================== |
| 51 | +# PROMPT CHARACTER |
| 52 | +# =================================== |
62 | 53 | [character] |
63 | 54 | success_symbol = "[➜](bold green)" |
64 | | -error_symbol = "[➜](bold red)" |
65 | | - |
66 | | -[nodejs] |
67 | | -disabled = true |
| 55 | +error_symbol = "[✗](bold red)" |
68 | 56 |
|
| 57 | +# =================================== |
| 58 | +# LANGUAGES |
| 59 | +# =================================== |
69 | 60 | [python] |
70 | 61 | disabled = false |
71 | | -symbol = "PY " |
72 | | -# symbol = "🐍 " |
| 62 | +format = 'via [🐍 $version]($style) ' |
73 | 63 |
|
74 | 64 | [rust] |
75 | | -disabled = false |
76 | | -symbol = "RS " |
77 | | -# symbol = "🦀 " |
| 65 | +disabled = true |
| 66 | + |
| 67 | +[nodejs] |
| 68 | +disabled = true |
| 69 | + |
| 70 | +[kubernetes] |
| 71 | +disabled = true |
0 commit comments