-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstarship.toml
58 lines (49 loc) · 1.2 KB
/
starship.toml
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
# Don't print a new line at the start of the prompt
add_newline = false
# Replace the "❯" symbol in the prompt with "➜"
[character] # The name of the module we are configuring is "character"
success_symbol = "➜" # The "symbol" segment is being set to "➜"
error_symbol = "✗"
# Disable the package module, hiding it from the prompt completely
[package]
disabled = true
[hostname]
ssh_only = true
[cmd_duration]
min_time=8000
disabled = true
[directory]
truncation_length=0
truncate_to_repo=false
read_only = "🔒"
[python]
format = 'via [${symbol}${pyenv_prefix}${version} (\($virtualenv\) )]($style)'
symbol = ""
[custom.mojo]
symbol = "🔥"
command = """
if [[ -n $CONDA_PREFIX ]]; then
mojo --version | awk '{print "🪄 " $2}'
else
mojo --version | awk '{print $2}'
fi
"""
detect_files = ["magic.lock"]
detect_folders = [".magic"]
detect_extensions = ["🔥", "mojo"]
format = '[[ $symbol ($output) ](fg:base bg:teal)]($style)'
style = "bg:teal"
[nodejs]
disabled=true
[git_status]
conflicted = "🏳"
ahead = "🏎💨"
behind = "😰"
diverged = "😵"
up_to_date = "✓"
untracked = "🤷"
stashed = "📦"
modified = "📝"
staged = '[++\($count\)](green)'
renamed = "👅"
deleted = "🗑"