about summary refs log tree commit diff
path: root/config/starship/config.toml
blob: 6165b6420b684215256e0ebcb1717d3c7f4fedf4 (plain)
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
# Get editor completions based on the config schema
"$schema" = 'https://starship.rs/config-schema.json'

# Inserts a blank line between shell prompts
add_newline = true

format = """
$nix_shell\
$directory\
$git_branch\
$git_status\
$git_commit\
$status\
$fill\
$lua\
$rust\
$golang\
$haskell\
$jobs\
$cmd_duration\
$line_break\
$character"""

[nix_shell]
format = '[$symbol]($style) '
symbol = '󱄅 '
style = 'bold #74c7ec'

[directory]
style = '#b2bbfb'
truncation_length = 2

[git_branch]
symbol = ' '
format = '[$symbol$branch(:$remote_branch)]($style) '
style = 'bold #eba0ac'
ignore_branches = ['master', 'main']

[git_status]
format = '([\[$all_status$ahead_behind\]]($style) )'
style = 'bold #89dceb'

[git_commit]
format = '[\[#$hash$tag\]]($style) '
style = 'bold #94e2d5'

[status]
format = '[\[$status\]]($style)'
disabled = false

[fill]
symbol = ' '

[lua]
format = '[$symbol($version )]($style)'
version_format = '$major.$minor'
symbol = '󰢱 '
detect_files = ['.lua-version', '.luarc.json']

[rust]
format = '[$symbol($version )]($style)'
version_format = '$major.$minor'
symbol = ' '
style = 'bold #fab387'

[golang]
format = '[$symbol($version )]($style)'
version_format = '$major.$minor'
symbol = ' '
style = 'bold #94e2d5'

[haskell]
format = '[$symbol($ghc_version )]($style)'
symbol = ' '
style = 'bold #cba6f7'

[cmd_duration]
format = '[󰔚 $duration]($style) '
style = 'bold #f9e2af'

# Replace the '❯' symbol in the prompt with '➜'
[character] # The name of the module we are configuring is 'character'
success_symbol = '[󰘧](bold #a6e3a1)'
error_symbol = '[󰘧](bold #f38ba8)'

# TODO
# - [container]
# - [docker_context]
# - [direnv]
# CONTINUE FROM HERE