This repository has been archived by the owner on Apr 2, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
starship.toml
89 lines (76 loc) · 2.44 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
scan_timeout = 10
format = """$env_var\
$username\
$hostname\
$directory\
$git_state\
$nodejs\
$java\
$conda\
$python\
$container\
$time\
$cmd_duration\
$memory_usage\
$line_break\
$character"""
[env_var]
variable = "starshipIsRoot"
format = "[](fg:red)[ root ]($style)[](fg:black bg:red)"
style = "fg:white bg:red"
[username]
format = "[](fg:yellow)[ $user ]($style)[](fg:black bg:yellow)"
style_user = "fg:black bg:yellow"
style_root = "fg:red bg:yellow"
[hostname]
format = "[](fg:green)[ $hostname ]($style)[](fg:black bg:green) "
style = "fg:black bg:green"
[directory]
format = "[](fg:45)[ ](fg:bright-black bg:45)[](fg:45 bg:green)[ $path ]($style)[$read_only]($read_only_style)[](green)"
truncation_length = 2
truncation_symbol = " "
truncate_to_repo = false
style = "fg:bright-black bg:green"
read_only = " "
read_only_style = "fg:bright-red bg:green"
[git_state]
format = "[](fg:black bg:purple)[ \\($state( $progress_current/$progress_total)\\) ]($style)[](fg:purple)"
style = "fg:black bg:purple"
[nodejs]
symbol = " "
format = "[](fg:black bg:green)[ $symbol$version ]($style)[](fg:green)"
version_format = "${major}"
style = "fg:black bg:green"
[java]
symbol = " "
format = "[](fg:black bg:red)[ $symbol$version ]($style)[](fg:red)"
version_format = "${major}"
style = "fg:black bg:red"
[conda]
symbol = " "
format = "[](fg:black bg:blue)[ $symbol$environment ]($style)[](fg:blue)"
truncation_length = 0
ignore_base = false
style = "fg:black bg:blue"
[python]
symbol = " "
format = "[](fg:black bg:yellow)[ ${symbol}${pyenv_prefix}${version}( \\($virtualenv\\)) ]($style)[](fg:yellow)"
version_format = "${major}"
style = "fg:black bg:yellow"
[time]
format = "[](fg:black bg:yellow)[ $time ]($style)[](fg:yellow)"
time_format = "%R"
disabled = false
style = "fg:bright-black bg:yellow"
[cmd_duration]
format = "[](fg:black bg:white)[ $duration ]($style)[](fg:white bg:black)[](fg:black bg:black)"
min_time = 500
style = "fg:bright-black bg:white"
[memory_usage]
symbol = ""
format = "[](fg:black bg:bright-red)[ ${symbol} ${ram} \\(${swap}\\) ]($style)[](fg:bright-red bg:black)"
style = "fg:white bg:bright-red"
disabled = false
[character]
success_symbol = "[ ](green)"
error_symbol = "[ ](red)"