lnk: added starship.toml

main
Bryan 2025-08-25 07:11:41 -06:00
parent 7c6e470833
commit 4962271c7f
2 changed files with 96 additions and 0 deletions

95
.config/starship.toml Normal file
View File

@ -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

1
.lnk
View File

@ -1,4 +1,5 @@
.config/ov/config.yaml .config/ov/config.yaml
.config/starship.toml
.config/stew/stew.config.json .config/stew/stew.config.json
.local/share/stew/Stewfile.lock.json .local/share/stew/Stewfile.lock.json
.zsh_plugins.txt .zsh_plugins.txt