-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstarship.toml
More file actions
50 lines (40 loc) · 1007 Bytes
/
Copy pathstarship.toml
File metadata and controls
50 lines (40 loc) · 1007 Bytes
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
format = """
$username\
$directory\
$hostname\
${custom.toolbox}\
$git_branch\
${custom.dirty}\
$line_break\
$aws\
$character"""
# newline is in my format string
add_newline = false
[username]
style_user = "bold green"
show_always = true
[hostname]
ssh_only = true
format = "in [$hostname](bold red) "
[custom.toolbox]
when = "hostname | grep 'toolbx'"
command = "cat /run/.containerenv | grep 'name' | cut -d \\= -f2 | sed 's/\"//g'"
format = "in [ $output](yellow) "
[directory]
truncate_to_repo = false
style = "bold blue"
# ignores untracked files for performance
[custom.dirty]
when = "(git rev-parse --is-inside-work-tree >/dev/null 2>&1) && (! git diff --no-ext-diff --quiet --exit-code)"
format = "[*](red)"
# after the line_break
[aws]
format = ' [$symbol ($profile )(\($region\))]($style)'
style = 'bold blue'
symbol = 'aws'
# [terraform]
# format = ' [tf $workspace]($style)'
[character]
success_symbol = "[❯](bold blue)"
error_symbol = "[❯](bold yellow)"
format = " $symbol "