modify starship
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
|
# starship.toml - Fully riced modern prompt config aligned with Carbonfox theme
|
||||||
|
|
||||||
format = """
|
format = """
|
||||||
$username$hostname$directory$git_branch$git_state$git_status$cmd_duration$line_break\
|
$os$username$hostname$directory$git_branch$git_state$git_status$python$nodejs$rust$golang$cmd_duration$line_break\
|
||||||
$character"""
|
$character"""
|
||||||
|
|
||||||
# Wait 10 milliseconds for starship to check files under the current directory.
|
# Wait 10 milliseconds for starship to check files under the current directory.
|
||||||
@@ -8,75 +10,93 @@ scan_timeout = 10
|
|||||||
# Disable the blank line at the start of the prompt
|
# Disable the blank line at the start of the prompt
|
||||||
add_newline = true
|
add_newline = true
|
||||||
|
|
||||||
# # Define custom colors
|
|
||||||
# [palettes.foo]
|
|
||||||
# # Overwrite existing color
|
|
||||||
# blue = '21'
|
|
||||||
# # Define new color
|
|
||||||
# mustard = '#af8700'
|
|
||||||
|
|
||||||
[directory]
|
|
||||||
style = "purple"
|
|
||||||
truncation_length = 3
|
|
||||||
format = ': [$path]($style)[$read_only]($read_only_style) '
|
|
||||||
truncation_symbol = ".../"
|
|
||||||
truncate_to_repo =true
|
|
||||||
|
|
||||||
[character]
|
|
||||||
success_symbol = '[❯](bold green)'
|
|
||||||
# success_symbol = '[➜](bold green)'
|
|
||||||
error_symbol = '[✗](bold purple) '
|
|
||||||
vimcmd_symbol = "[❮](green)"
|
|
||||||
|
|
||||||
[git_branch]
|
|
||||||
symbol = '🌱 '
|
|
||||||
# truncation_length = 4
|
|
||||||
truncation_symbol = ''
|
|
||||||
format = '[$symbol$branch]($style) '
|
|
||||||
|
|
||||||
[git_status]
|
|
||||||
conflicted = '🏳'
|
|
||||||
ahead = '🏎💨'
|
|
||||||
behind = '😰'
|
|
||||||
diverged = '😵'
|
|
||||||
up_to_date = '✓'
|
|
||||||
untracked = '🤷'
|
|
||||||
stashed = '📦'
|
|
||||||
modified = '📝'
|
|
||||||
staged = '[++\($count\)](green)'
|
|
||||||
renamed = '👅'
|
|
||||||
deleted = '🗑'
|
|
||||||
|
|
||||||
[git_state]
|
|
||||||
format = '[\($state( $progress_current of $progress_total)\)]($style) '
|
|
||||||
cherry_pick = '[🍒 PICKING](bold red)'
|
|
||||||
|
|
||||||
[cmd_duration]
|
|
||||||
min_time = 100
|
|
||||||
format = 'underwent [$duration](bold yellow)'
|
|
||||||
|
|
||||||
[os]
|
[os]
|
||||||
disabled = false
|
disabled = false
|
||||||
|
style = "bold white"
|
||||||
|
|
||||||
[username]
|
[username]
|
||||||
style_user = 'white bold'
|
style_user = "bold #be95ff" # Carbonfox purple
|
||||||
style_root = 'black bold'
|
style_root = "bold red"
|
||||||
format = '[$user]($style) '
|
format = "[$user]($style)"
|
||||||
disabled = false
|
disabled = false
|
||||||
show_always = true
|
show_always = true
|
||||||
|
|
||||||
[hostname]
|
[hostname]
|
||||||
ssh_only = false
|
ssh_only = false
|
||||||
format = '@(bold blue) [$hostname](bold red) '
|
style = "bold #33b1ff" # Carbonfox blue/cyan
|
||||||
trim_at = '.ciena.com'
|
format = "@[$hostname]($style) "
|
||||||
disabled = false
|
disabled = false
|
||||||
|
|
||||||
|
[directory]
|
||||||
|
style = "bold #08bdba" # Carbonfox teal
|
||||||
|
format = "in [ $path]($style)[$read_only]($read_only_style) "
|
||||||
|
truncation_length = 3
|
||||||
|
truncation_symbol = "…/"
|
||||||
|
truncate_to_repo = true
|
||||||
|
read_only = " "
|
||||||
|
read_only_style = "bold red"
|
||||||
|
|
||||||
|
[character]
|
||||||
|
success_symbol = "[❯](bold #25be6a)" # Carbonfox green
|
||||||
|
error_symbol = "[❯](bold #ee5396)" # Carbonfox pink/red
|
||||||
|
vimcmd_symbol = "[❮](bold #08bdba)" # Carbonfox teal
|
||||||
|
|
||||||
|
[git_branch]
|
||||||
|
symbol = "🌱 "
|
||||||
|
style = "bold #ee5396" # Carbonfox pink
|
||||||
|
format = "on [$symbol$branch]($style) "
|
||||||
|
truncation_symbol = ""
|
||||||
|
|
||||||
|
[git_status]
|
||||||
|
style = "bold #ee5396"
|
||||||
|
format = "([$all_status$ahead_behind]($style) )"
|
||||||
|
conflicted = "🏳"
|
||||||
|
ahead = "🏎💨"
|
||||||
|
behind = "😰"
|
||||||
|
diverged = "😵"
|
||||||
|
untracked = "🤷"
|
||||||
|
stashed = "📦"
|
||||||
|
modified = "📝"
|
||||||
|
staged = '[++\($count\)](green)'
|
||||||
|
renamed = "👅"
|
||||||
|
deleted = "🗑"
|
||||||
|
|
||||||
|
[git_state]
|
||||||
|
format = "([$state( $progress_current of $progress_total)]($style) )"
|
||||||
|
cherry_pick = "[🍒 PICKING](bold red)"
|
||||||
|
|
||||||
|
[python]
|
||||||
|
symbol = "🐍 "
|
||||||
|
style = "bold #3ddbd9"
|
||||||
|
format = "via [$symbol$version]($style) "
|
||||||
|
|
||||||
|
[nodejs]
|
||||||
|
symbol = " "
|
||||||
|
style = "bold #25be6a"
|
||||||
|
format = "via [$symbol$version]($style) "
|
||||||
|
|
||||||
|
[rust]
|
||||||
|
symbol = "🦀 "
|
||||||
|
style = "bold #ff9e64"
|
||||||
|
format = "via [$symbol$version]($style) "
|
||||||
|
|
||||||
|
[golang]
|
||||||
|
symbol = " "
|
||||||
|
style = "bold #78a9ff"
|
||||||
|
format = "via [$symbol$version]($style) "
|
||||||
|
|
||||||
|
[cmd_duration]
|
||||||
|
min_time = 100
|
||||||
|
style = "bold #e0af68" # Carbonfox yellow/orange
|
||||||
|
format = "underwent [$duration]($style) "
|
||||||
|
|
||||||
[status]
|
[status]
|
||||||
style = 'bg:blue'
|
style = "bg:blue"
|
||||||
symbol = '🔴 '
|
symbol = "🔴 "
|
||||||
success_symbol = '🟢 SUCCESS'
|
success_symbol = "🟢 SUCCESS"
|
||||||
format = '[\[$symbol$common_meaning$signal_name$maybe_int\]]($style) '
|
format = '[[\[$symbol$common_meaning$signal_name$maybe_int\]]($style) ]'
|
||||||
map_symbol = true
|
map_symbol = true
|
||||||
disabled = false
|
disabled = true
|
||||||
|
|
||||||
[conda]
|
[conda]
|
||||||
format = "[$symbol$environment]($style) "
|
format = "[$symbol$environment]($style) "
|
||||||
|
|||||||
Reference in New Issue
Block a user