starship.toml
This commit is contained in:
parent
9729aa0c3f
commit
7c1baf8809
59
starship.toml
Normal file
59
starship.toml
Normal file
@ -0,0 +1,59 @@
|
|||||||
|
add_newline = false
|
||||||
|
|
||||||
|
format="""
|
||||||
|
$python\
|
||||||
|
$username\
|
||||||
|
$hostname\
|
||||||
|
$directory\
|
||||||
|
$git_branch\
|
||||||
|
$git_status\
|
||||||
|
$jobs\
|
||||||
|
$character"""
|
||||||
|
|
||||||
|
right_format="""
|
||||||
|
$cmd_duration"""
|
||||||
|
|
||||||
|
[python]
|
||||||
|
format = "[(${symbol} $virtualenv )]($style)"
|
||||||
|
style = "15"
|
||||||
|
symbol = ''
|
||||||
|
|
||||||
|
[username]
|
||||||
|
format = "[$user]($style)"
|
||||||
|
style_user = "normal"
|
||||||
|
style_root = "196"
|
||||||
|
|
||||||
|
[hostname]
|
||||||
|
format = "[@$hostname]($style) "
|
||||||
|
style = "normal"
|
||||||
|
|
||||||
|
[directory]
|
||||||
|
format = "[($read_only )]($read_only_style)[$path]($style) "
|
||||||
|
style = "37"
|
||||||
|
read_only_style = "37"
|
||||||
|
read_only = ""
|
||||||
|
truncation_length = 0
|
||||||
|
|
||||||
|
[git_branch]
|
||||||
|
format = "[$symbol$branch]($style)"
|
||||||
|
style = "246"
|
||||||
|
symbol = " "
|
||||||
|
|
||||||
|
[git_status]
|
||||||
|
format = "[$modified($untracked)( $ahead_behind)( $stashed)]($style) "
|
||||||
|
style = "246"
|
||||||
|
stashed = "≡"
|
||||||
|
modified = "*"
|
||||||
|
untracked = ""
|
||||||
|
|
||||||
|
[jobs]
|
||||||
|
style = "70"
|
||||||
|
symbol = "⇶"
|
||||||
|
|
||||||
|
[character]
|
||||||
|
success_symbol = "[❯](76)"
|
||||||
|
error_symbol = "[❯](196)"
|
||||||
|
|
||||||
|
[cmd_duration]
|
||||||
|
format = "[$duration]($style)"
|
||||||
|
style = "220"
|
Loading…
Reference in New Issue
Block a user