-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathstarship.toml
More file actions
executable file
·169 lines (146 loc) · 3.5 KB
/
starship.toml
File metadata and controls
executable file
·169 lines (146 loc) · 3.5 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
# Starship Configuration - SHARP Project Enhanced
format = """
[┌─────────────────────────────────────────────────────────────────────┐](bold magenta)
[│](bold magenta)$os$username$hostname$directory$python$git_branch$git_status$docker_context$nodejs$rust$golang$cmd_duration[│](bold magenta)
[└─](bold magenta)$character"""
right_format = """$time"""
# Operating System
[os]
format = "[$symbol ]($style)"
style = "bold blue"
disabled = false
[os.symbols]
Arch = ""
Linux = ""
Ubuntu = ""
Debian = ""
Fedora = ""
Macos = ""
Windows = ""
# User and Host
[username]
format = "[$user]($style)"
style_user = "bold cyan"
show_always = true
[hostname]
format = "[@$hostname ]($style)"
style = "bold green"
ssh_only = false
# Directory
[directory]
format = "[$path ]($style)"
style = "bold red"
truncation_length = 4
truncate_to_repo = true
# Python Environment
[python]
format = '[(\($virtualenv\) )]($style)'
style = "bold yellow"
symbol = " "
pyenv_version_name = false
detect_extensions = ["py"]
detect_files = [".python-version", "Pipfile", "requirements.txt", "pyproject.toml", "setup.py"]
detect_folders = []
# Git
[git_branch]
format = "[on $branch ]($style)"
style = "bold magenta"
symbol = " "
[git_status]
format = "([$all_status$ahead_behind ]($style))"
style = "bold red"
conflicted = "="
ahead = "⇡"
behind = "⇣"
diverged = "⇕"
untracked = "?"
stashed = "$"
modified = "!"
staged = "+"
renamed = "~"
deleted = "✗"
[git_commit]
commit_hash_length = 7
tag_symbol = " "
# Docker
[docker_context]
format = "[via $symbol$context ]($style)"
style = "bold blue"
symbol = " "
only_with_files = true
detect_extensions = []
detect_files = ["docker-compose.yml", "docker-compose.yaml", "Dockerfile"]
detect_folders = []
# Node.js
[nodejs]
format = "[via $symbol($version )]($style)"
style = "bold green"
symbol = " "
detect_extensions = ["js", "mjs", "cjs", "ts"]
detect_files = ["package.json", ".node-version"]
detect_folders = ["node_modules"]
# Rust
[rust]
format = "[via $symbol($version )]($style)"
style = "bold red"
symbol = " "
detect_extensions = ["rs"]
detect_files = ["Cargo.toml"]
detect_folders = []
# Go
[golang]
format = "[via $symbol($version )]($style)"
style = "bold cyan"
symbol = " "
detect_extensions = ["go"]
detect_files = ["go.mod", "go.sum", "glide.yaml", "Gopkg.yml", "Gopkg.lock"]
detect_folders = []
# C/C++
[c]
format = "[via $symbol($version(-$name) )]($style)"
style = "bold blue"
symbol = " "
detect_extensions = ["c", "h"]
detect_files = []
detect_folders = []
# Java
[java]
format = "[via $symbol($version )]($style)"
style = "bold red"
symbol = " "
detect_extensions = ["java", "class", "jar", "gradle", "clj", "cljc"]
detect_files = ["pom.xml", "build.gradle.kts", "build.sbt", ".java-version"]
detect_folders = []
# Package Version
[package]
format = "[is $symbol$version ]($style)"
style = "bold yellow"
symbol = " "
display_private = false
# Command Duration
[character]
success_symbol = "[❯](bold green)"
error_symbol = "[❯](bold red)"
[cmd_duration]
format = "[took $duration ]($style)"
style = "bold cyan"
min_time = 2_000
show_milliseconds = false
# Time
[time]
format = "[$time]($style)"
style = "bold blue"
time_format = "%H:%M:%S"
disabled = false
# Status
[status]
format = "[$symbol$status]($style) "
style = "bold red"
symbol = "✖ "
disabled = false
# Shell
[shell]
fish_indicator = ""
bash_indicator = "bsh"
zsh_indicator = "zsh"
disabled = true