-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstarship.toml
executable file
·102 lines (84 loc) · 2.15 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
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
# Use custom format
format = """
[┌💨](bold cyan) $hostname$username$directory$git_branch$git_metrics$memory_usage
[│ 💨](bold cyan) $time$git_commit$git_state$git_status$conda$python$cmd_duration
[└💨](bold cyan) """
# Wait 10 milliseconds for starship to check files under the current directory.
scan_timeout = 30
# Disable the blank line at the start of the prompt
add_newline = false
[cmd_duration]
format = "⌛ [$duration](bold cyan)"
[memory_usage]
disabled = false
format = "🐧 [${ram_pct}]($style) "
threshold = -1
style = "bold green"
[time]
disabled = false
format = '[$time]($style) '
time_format = "%T"
style = "bold white"
# 👉💻💾📦
[hostname]
ssh_only = true
format = "[$hostname](bold blue) "
# trim_at = ".companyname.com"
disabled = false
# 🥰😘😆🤣😍🤡👾👻👀
[username]
style_user = "cyan bold"
format = "[$user]($style) "
disabled = false
show_always = true
[conda]
format = "[Conda]($style) [$symbol$environment]($style) "
symbol = "🚀 "
style = "bold #ef9e9f"
[python]
format = '[Python]($style) [${symbol}${pyenv_prefix}${version}( \($virtualenv\))]($style) '
symbol = "💡 "
style = "bold #feee7d"
[directory]
format = "[$path]($style)[$read_only]($read_only_style) "
truncation_length = 8
truncation_symbol = "…/"
style = "bold underline cyan"
[git_branch]
symbol = "🌱 "
truncation_length = 15
truncation_symbol = ""
style = "bold blue"
[git_commit]
commit_hash_length = 7
tag_symbol = "🔖 "
disabled = false
tag_disabled = false
# only_detached = false
[git_state]
format = '[\($state( $progress_current of $progress_total)\)]($style) '
cherry_pick = "[🍒 PICKING](bold red)"
# ~/.config/starship.toml
[git_metrics]
added_style = "bold blue"
format = '[+$added]($added_style)/[-$deleted]($deleted_style) '
disabled = false
[git_status]
conflicted = "😭"
ahead = "😄"
behind = "😰"
diverged = "😵"
untracked = "👀"
stashed = "📦"
modified = "📝"
staged = '[++\($count\)](blue)'
renamed = "🔀"
deleted = "😧"
[line_break]
disabled = true
# 🚀🌏🌝👉🙏
[character]
format="$symbol "
#success_symbol = "[➜](bold green) "
success_symbol = "👉"
error_symbol = "[✗](bold red) "