lnk: added starship.toml
parent
7c6e470833
commit
4962271c7f
|
|
@ -0,0 +1,95 @@
|
||||||
|
# https://github.com/starship/starship/discussions/1107
|
||||||
|
# Pills
|
||||||
|
|
||||||
|
add_newline = true
|
||||||
|
palette = "default"
|
||||||
|
|
||||||
|
format = """
|
||||||
|
[╭](fg:separator)\
|
||||||
|
$status\
|
||||||
|
$directory\
|
||||||
|
$git_branch\
|
||||||
|
$git_status\
|
||||||
|
$cmd_duration\
|
||||||
|
$time\
|
||||||
|
$line_break\
|
||||||
|
[╰](fg:separator)\
|
||||||
|
$character\
|
||||||
|
"""
|
||||||
|
|
||||||
|
###########################################
|
||||||
|
|
||||||
|
[palettes.default]
|
||||||
|
prompt_ok = "#8047c1"
|
||||||
|
prompt_err = "#e23140"
|
||||||
|
icon = "#161514"
|
||||||
|
separator = "#35312c"
|
||||||
|
background = "#35312c"
|
||||||
|
|
||||||
|
directory = "#9f31e2"
|
||||||
|
duration = "#e26f31"
|
||||||
|
status = "#e23140"
|
||||||
|
git_branch = "#31e268"
|
||||||
|
git_status = "#31e268"
|
||||||
|
|
||||||
|
###########################################
|
||||||
|
|
||||||
|
[character]
|
||||||
|
success_symbol = "[❯](fg:prompt_ok)"
|
||||||
|
error_symbol = "[❯](fg:prompt_err)"
|
||||||
|
vimcmd_symbol = "[❮](fg:git_status)"
|
||||||
|
vimcmd_replace_one_symbol = "[❮](bold purple)"
|
||||||
|
vimcmd_replace_symbol = "[❮](bold purple)"
|
||||||
|
vimcmd_visual_symbol = "[❮](bold yellow)"
|
||||||
|
|
||||||
|
|
||||||
|
[status]
|
||||||
|
format = "[─](fg:separator)[](fg:status)[](fg:icon bg:status)[](fg:status bg:background)[ $status](bg:background)[](fg:background)"
|
||||||
|
pipestatus = true
|
||||||
|
pipestatus_separator = "-"
|
||||||
|
pipestatus_segment_format = "$status"
|
||||||
|
pipestatus_format = "[─](fg:separator)[](fg:status)[](fg:icon bg:status)[](fg:status bg:background)[ $pipestatus](bg:background)[](fg:background)"
|
||||||
|
disabled = false
|
||||||
|
|
||||||
|
[directory]
|
||||||
|
format = "[─](fg:separator)[](fg:directory)[](fg:icon bg:directory)[](fg:directory bg:background)[ $path](bg:background)[](fg:background)"
|
||||||
|
truncate_to_repo = false
|
||||||
|
truncation_length = 0
|
||||||
|
|
||||||
|
[directory.substitutions]
|
||||||
|
"Documents" = ""
|
||||||
|
"Downloads" = ""
|
||||||
|
"Music" = ""
|
||||||
|
"Pictures" = ""
|
||||||
|
"Repos" = ""
|
||||||
|
|
||||||
|
[git_branch]
|
||||||
|
format = "[─](fg:separator)[](fg:git_branch)[ ](fg:icon bg:git_branch)[](fg:git_branch bg:background)[ $branch](bg:background)"
|
||||||
|
|
||||||
|
[git_status]
|
||||||
|
modified = " "
|
||||||
|
untracked = " "
|
||||||
|
renamed = " "
|
||||||
|
deleted = " "
|
||||||
|
staged = " "
|
||||||
|
stashed = " "
|
||||||
|
|
||||||
|
ahead = '⇡${count}'
|
||||||
|
diverged = '⇕⇡${ahead_count}⇣${behind_count}'
|
||||||
|
behind = '⇣${count}'
|
||||||
|
|
||||||
|
# modified = ""
|
||||||
|
# untracked = ""
|
||||||
|
# renamed = ""
|
||||||
|
# deleted = " "
|
||||||
|
# staged = " "
|
||||||
|
|
||||||
|
format = "[ ](fg:background bg:git_status)[$all_status$ahead_behind](fg:icon bg:git_status)[](fg:git_status)"
|
||||||
|
|
||||||
|
[cmd_duration]
|
||||||
|
format = "[─](fg:separator)[](fg:duration)[](fg:icon bg:duration)[](fg:duration bg:background)[ $duration](bg:background)[](fg:background)"
|
||||||
|
min_time = 1000
|
||||||
|
|
||||||
|
[time]
|
||||||
|
format = "[─](fg:separator)[](fg:duration)[](fg:icon bg:duration)[](fg:duration bg:background)[ $time](bg:background)[](fg:background)"
|
||||||
|
disabled = true
|
||||||
Loading…
Reference in New Issue