-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstarship.toml
More file actions
68 lines (54 loc) · 1.97 KB
/
Copy pathstarship.toml
File metadata and controls
68 lines (54 loc) · 1.97 KB
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
# Color specifiers:
# ["bright-" prefix] black, red, green, blue, yellow, purple, cyan, white
# Inspired by:
# + https://github.com/starship/starship/discussions/1107#discussioncomment-12783392
format = """
$directory\
$git_branch\
$git_status\
$git_commit\
$rust\
$python\
$nix_shell\
$fill\
$time
$character
"""
# Get editor completions based on the config schema
"$schema" = 'https://starship.rs/config-schema.json'
# Inserts a blank line between shell prompts
add_newline = false
[time]
disabled = false
format = "[$time](#333333)"
[character] # Icon(s) beside text entry
success_symbol = '[╰─](fg:bright-black)[ ➜](bold green)'
error_symbol = '[╰─](fg:bright-black)[ ➜](bold red)'
vimcmd_symbol = "[╰─](fg:bright-black)[ ➜](bold white)"
vimcmd_replace_one_symbol = "[╰─](fg:bright-black)[ ➜](bold white)"
vimcmd_replace_symbol = "[╰─](fg:bright-black)[ ➜](bold white)"
vimcmd_visual_symbol = "[╰─](fg:bright-black)[ ➜](bold white)"
# Disable the package module, hiding it from the prompt completely
[package]
disabled = true
[directory]
format = '[╭─](fg:bright-black)[ ](fg:black bg:green)[ $read_only$truncation_symbol$path ](fg:bright-white bg:bright-black)'
home_symbol = " ~/"
read_only = ' '
read_only_style = ''
truncation_length = 2
[git_branch]
format = '[─](fg:bright-black)[ $symbol ](fg:black bg:yellow)[ $branch ](fg:bright-white bg:bright-black)'
only_attached = true
symbol = ''
[git_commit]
format = '[─](fg:bright-black)[ ](fg:black bg:yellow)[ $hash ](fg:bright-white bg:bright-black)'
only_detached = true
[git_status]
format = "[( $all_status )](fg:black bg:red)"
[nix_shell]
format = "[─](fg:bright-black)[ ](fg:black bg:blue)[ $state ](fg:bright-white bg:bright-black)"
[rust]
format = "[─](fg:bright-black)[ ](fg:black bg:208)[ $version ](fg:bright-white bg:bright-black)"
[python]
format = "[─](fg:bright-black)[ ](fg:black bg:33)[ $version ](fg:bright-white bg:bright-black)"