-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstarship.toml
More file actions
69 lines (57 loc) · 1.6 KB
/
starship.toml
File metadata and controls
69 lines (57 loc) · 1.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# Starship Prompt Configuration
# https://starship.rs/config/
# Use a two-line prompt
format = """
$directory$git_branch$git_status$nodejs$python$golang$terraform$dart$cmd_duration
$character"""
# Increase command timeout for git operations
command_timeout = 1000
[character]
success_symbol = "[❯](bold green)"
error_symbol = "[❯](bold red)"
[directory]
truncation_length = 4
truncate_to_repo = true
style = "bold cyan"
[git_branch]
format = "[$symbol$branch]($style) "
symbol = " "
style = "bold purple"
[git_status]
format = '([$conflicted$ahead_behind$stashed$staged$renamed$modified$untracked$deleted]($style) )'
style = ""
conflicted = "[=${count}](bold red)"
ahead = "[⇡${count}](bold green)"
behind = "[⇣${count}](bold yellow)"
diverged = "[⇕⇡${ahead_count}⇣${behind_count}](bold red)"
untracked = "[?${count}](bold blue)"
stashed = "[$${count}](bold cyan)"
modified = "[!${count}](bold yellow)"
staged = "[+${count}](bold green)"
renamed = "[»${count}](bold purple)"
deleted = "[✘${count}](bold red)"
[nodejs]
format = "[$symbol($version )]($style)"
symbol = " "
style = "bold green"
detect_files = ["package.json", ".node-version", ".nvmrc"]
[python]
format = '[${symbol}${pyenv_prefix}(${version} )(\($virtualenv\) )]($style)'
symbol = " "
style = "bold yellow"
[golang]
format = "[$symbol($version )]($style)"
symbol = " "
style = "bold cyan"
[terraform]
format = "[$symbol$workspace]($style) "
symbol = " "
style = "bold 105"
[dart]
format = "[$symbol($version )]($style)"
symbol = " "
style = "bold blue"
[cmd_duration]
min_time = 2000
format = "[$duration]($style) "
style = "bold yellow"