-
Notifications
You must be signed in to change notification settings - Fork 0
/
starship.toml
88 lines (67 loc) · 1.69 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
# ~/.config/starship.toml
command_timeout = 2000
format = '${custom.aws}$aws$all$git_status$os'
right_format = """$character$time"""
[cmd_duration]
min_time = 10_000 # Show command duration over 10,000 milliseconds (=10 sec)
format = " took [$duration]($style)"
[directory]
truncation_length = 5
truncate_to_repo = false
format = "[$path]($style)[$lock_symbol]($lock_style) "
home_symbol = '🏠'
[git_branch]
symbol = '🌱 '
style = "bold fg:#646b6a"
format = '[$symbol$branch(:$remote_branch)]($style) '
[git_commit]
commit_hash_length = 8
style = "bold white"
[git_state]
format = '[\($state( $progress_current of $progress_total)\)]($style)'
[git_metrics]
added_style = 'bold blue'
format = '[+$added]($added_style)/[-$deleted]($deleted_style)'
[git_status]
[python]
format = "[$symbol$version]($style) "
style = "bold green"
disabled = true
[time]
time_format = "%T"
format = "🕙$time($style) "
style = "bright-white"
disabled = false
[nodejs]
format = "via [🤖 $version](bold green) "
disabled = true
[aws]
format = '[($profile )$region]($style) '
style = 'bold blue'
[aws.region_aliases]
ap-southeast-1 = 'apse1'
ap-southeast-2 = 'apse2'
us-east-1 = 'usea1'
us-west-2 = 'uswe2'
eu-central-1 = 'euce1'
us-west-1 = 'euwe1'
[character]
success_symbol = " [✅](grey)"
error_symbol = " [❌](bold red)"
[terraform]
format = '[ $version]($style) '
disabled = true
[docker_context]
disabled = true
[golang]
disabled = true
[os]
format = ">"
style = "bold blue"
disabled = false
[container]
format = '[$symbol \[$name\]]($style) '
[custom.aws]
command = " aws configure get x_principal_arn | split column \"/\" | get column2 | first "
when = "aws sts get-caller-identity"
format = "[$output:](bold blue)"