starship
This commit is contained in:
parent
71e3182988
commit
46e5107ee4
2 changed files with 280 additions and 119 deletions
|
|
@ -1,46 +1,36 @@
|
||||||
"$schema" = 'https://starship.rs/config-schema.json'
|
|
||||||
add_newline = true
|
|
||||||
|
|
||||||
format = """
|
format = """
|
||||||
[](surface0)\
|
[](#3B4252)\
|
||||||
$os\
|
$python\
|
||||||
$username\
|
$username\
|
||||||
[](bg:peach fg:surface0)\
|
[](bg:#434C5E fg:#3B4252)\
|
||||||
$directory\
|
$directory\
|
||||||
[](fg:peach bg:green)\
|
[](fg:#434C5E bg:#4C566A)\
|
||||||
$git_branch\
|
$git_branch\
|
||||||
$git_status\
|
$git_status\
|
||||||
[](fg:green bg:teal)\
|
[](fg:#4C566A bg:#86BBD8)\
|
||||||
$c\
|
$c\
|
||||||
$rust\
|
$elixir\
|
||||||
|
$elm\
|
||||||
$golang\
|
$golang\
|
||||||
$nodejs\
|
|
||||||
$php\
|
|
||||||
$java\
|
|
||||||
$kotlin\
|
|
||||||
$haskell\
|
$haskell\
|
||||||
$python\
|
$java\
|
||||||
[](fg:teal bg:blue)\
|
$julia\
|
||||||
|
$nodejs\
|
||||||
|
$nim\
|
||||||
|
$rust\
|
||||||
|
[](fg:#86BBD8 bg:#06969A)\
|
||||||
$docker_context\
|
$docker_context\
|
||||||
[](fg:blue bg:purple)\
|
[](fg:#06969A bg:#33658A)\
|
||||||
$time\
|
$time\
|
||||||
[ ](fg:purple)\
|
[ ](fg:#33658A)\
|
||||||
$line_break$character"""
|
$line_break$character
|
||||||
|
"""
|
||||||
|
command_timeout = 5000
|
||||||
|
# Disable the blank line at the start of the prompt
|
||||||
|
add_newline = false
|
||||||
|
|
||||||
palette = 'catppuccin_mocha'
|
palette = 'catppuccin_mocha'
|
||||||
|
|
||||||
[palettes.gruvbox_dark]
|
|
||||||
color_fg0 = '#fbf1c7'
|
|
||||||
color_bg1 = '#3c3836'
|
|
||||||
color_bg3 = '#665c54'
|
|
||||||
color_blue = '#458588'
|
|
||||||
color_aqua = '#689d6a'
|
|
||||||
color_green = '#98971a'
|
|
||||||
color_orange = '#d65d0e'
|
|
||||||
color_purple = '#b16286'
|
|
||||||
color_red = '#cc241d'
|
|
||||||
color_yellow = '#d79921'
|
|
||||||
|
|
||||||
[palettes.catppuccin_mocha]
|
[palettes.catppuccin_mocha]
|
||||||
rosewater = "#f5e0dc"
|
rosewater = "#f5e0dc"
|
||||||
flamingo = "#f2cdcd"
|
flamingo = "#f2cdcd"
|
||||||
|
|
@ -69,123 +59,103 @@ base = "#1e1e2e"
|
||||||
mantle = "#181825"
|
mantle = "#181825"
|
||||||
crust = "#11111b"
|
crust = "#11111b"
|
||||||
|
|
||||||
[os]
|
# You can also replace your username with a neat symbol like to save some space
|
||||||
disabled = false
|
|
||||||
style = "bg:surface0 fg:text"
|
|
||||||
|
|
||||||
[os.symbols]
|
|
||||||
Windows = ""
|
|
||||||
Ubuntu = ""
|
|
||||||
SUSE = ""
|
|
||||||
Raspbian = ""
|
|
||||||
Mint = ""
|
|
||||||
Macos = ""
|
|
||||||
Manjaro = ""
|
|
||||||
Linux = ""
|
|
||||||
Gentoo = ""
|
|
||||||
Fedora = ""
|
|
||||||
Alpine = ""
|
|
||||||
Amazon = ""
|
|
||||||
Android = ""
|
|
||||||
Arch = ""
|
|
||||||
Artix = ""
|
|
||||||
CentOS = ""
|
|
||||||
Debian = ""
|
|
||||||
Redhat = ""
|
|
||||||
RedHatEnterprise = ""
|
|
||||||
|
|
||||||
[username]
|
[username]
|
||||||
show_always = true
|
show_always = true
|
||||||
style_user = "bg:surface0 fg:text"
|
style_user = "bg:#3B4252"
|
||||||
style_root = "bg:surface0 fg:text"
|
style_root = "bg:#3B4252"
|
||||||
format = '[ $user ]($style)'
|
format = '[$user ]($style)'
|
||||||
|
|
||||||
[directory]
|
[directory]
|
||||||
style = "fg:mantle bg:peach"
|
style = "bg:#434C5E"
|
||||||
format = "[ $path ]($style)"
|
format = "[ $path ]($style)"
|
||||||
truncation_length = 3
|
truncation_length = 3
|
||||||
truncation_symbol = "…/"
|
truncation_symbol = "…/"
|
||||||
|
|
||||||
|
# Here is how you can shorten some long paths by text replacement
|
||||||
|
# similar to mapped_locations in Oh My Posh:
|
||||||
[directory.substitutions]
|
[directory.substitutions]
|
||||||
"Documents" = " "
|
"Documents" = " "
|
||||||
"Downloads" = " "
|
"Downloads" = " "
|
||||||
"Music" = " "
|
"Music" = " "
|
||||||
"Pictures" = " "
|
"Pictures" = " "
|
||||||
"Developer" = " "
|
# Keep in mind that the order matters. For example:
|
||||||
|
# "Important Documents" = " "
|
||||||
[git_branch]
|
# will not be replaced, because "Documents" was already substituted before.
|
||||||
symbol = ""
|
# So either put "Important Documents" before "Documents" or use the substituted version:
|
||||||
style = "bg:teal"
|
# "Important " = " "
|
||||||
format = '[[ $symbol $branch ](fg:base bg:green)]($style)'
|
|
||||||
|
|
||||||
[git_status]
|
|
||||||
style = "bg:teal"
|
|
||||||
format = '[[($all_status$ahead_behind )](fg:base bg:green)]($style)'
|
|
||||||
|
|
||||||
[nodejs]
|
|
||||||
symbol = ""
|
|
||||||
style = "bg:teal"
|
|
||||||
format = '[[ $symbol( $version) ](fg:base bg:teal)]($style)'
|
|
||||||
|
|
||||||
[c]
|
[c]
|
||||||
symbol = " "
|
symbol = " "
|
||||||
style = "bg:teal"
|
style = "bg:#86BBD8"
|
||||||
format = '[[ $symbol( $version) ](fg:base bg:teal)]($style)'
|
format = '[ $symbol ($version) ]($style)'
|
||||||
|
|
||||||
[rust]
|
[docker_context]
|
||||||
symbol = ""
|
symbol = " "
|
||||||
style = "bg:teal"
|
style = "bg:#06969A"
|
||||||
format = '[[ $symbol( $version) ](fg:base bg:teal)]($style)'
|
format = '[ $symbol $context ]($style) $path'
|
||||||
|
|
||||||
|
[elixir]
|
||||||
|
symbol = " "
|
||||||
|
style = "bg:#86BBD8"
|
||||||
|
format = '[ $symbol ($version) ]($style)'
|
||||||
|
|
||||||
|
[elm]
|
||||||
|
symbol = " "
|
||||||
|
style = "bg:#86BBD8"
|
||||||
|
format = '[ $symbol ($version) ]($style)'
|
||||||
|
|
||||||
|
[git_branch]
|
||||||
|
symbol = ""
|
||||||
|
style = "bg:#4C566A"
|
||||||
|
format = '[ $symbol $branch ]($style)'
|
||||||
|
|
||||||
|
[git_status]
|
||||||
|
style = "bg:#4C566A"
|
||||||
|
format = '[$all_status$ahead_behind ]($style)'
|
||||||
|
|
||||||
[golang]
|
[golang]
|
||||||
symbol = ""
|
symbol = " "
|
||||||
style = "bg:teal"
|
style = "bg:#86BBD8"
|
||||||
format = '[[ $symbol( $version) ](fg:base bg:teal)]($style)'
|
format = '[ $symbol ($version) ]($style)'
|
||||||
|
|
||||||
[php]
|
[haskell]
|
||||||
symbol = ""
|
symbol = " "
|
||||||
style = "bg:teal"
|
style = "bg:#86BBD8"
|
||||||
format = '[[ $symbol( $version) ](fg:base bg:teal)]($style)'
|
format = '[ $symbol ($version) ]($style)'
|
||||||
|
|
||||||
[java]
|
[java]
|
||||||
symbol = " "
|
symbol = " "
|
||||||
style = "bg:teal"
|
style = "bg:#86BBD8"
|
||||||
format = '[[ $symbol( $version) ](fg:base bg:teal)]($style)'
|
format = '[ $symbol ($version) ]($style)'
|
||||||
|
|
||||||
[kotlin]
|
[julia]
|
||||||
symbol = ""
|
symbol = " "
|
||||||
style = "bg:teal"
|
style = "bg:#86BBD8"
|
||||||
format = '[[ $symbol( $version) ](fg:base bg:teal)]($style)'
|
format = '[ $symbol ($version) ]($style)'
|
||||||
|
|
||||||
[haskell]
|
[nodejs]
|
||||||
symbol = ""
|
symbol = ""
|
||||||
style = "bg:teal"
|
style = "bg:#86BBD8"
|
||||||
format = '[[ $symbol( $version) ](fg:base bg:teal)]($style)'
|
format = '[ $symbol ($version) ]($style)'
|
||||||
|
|
||||||
|
[nim]
|
||||||
|
symbol = " "
|
||||||
|
style = "bg:#86BBD8"
|
||||||
|
format = '[ $symbol ($version) ]($style)'
|
||||||
|
|
||||||
[python]
|
[python]
|
||||||
symbol = ""
|
style = "bg:#3B4252"
|
||||||
style = "bg:teal"
|
format = '[(\($virtualenv\) )]($style)'
|
||||||
format = '[[ $symbol( $version) ](fg:base bg:teal)]($style)'
|
|
||||||
|
|
||||||
[docker_context]
|
[rust]
|
||||||
symbol = ""
|
symbol = ""
|
||||||
style = "bg:mantle"
|
style = "bg:#86BBD8"
|
||||||
format = '[[ $symbol( $context) ](fg:#83a598 bg:color_bg3)]($style)'
|
format = '[ $symbol ($version) ]($style)'
|
||||||
|
|
||||||
[time]
|
[time]
|
||||||
disabled = false
|
disabled = false
|
||||||
time_format = "%R"
|
time_format = "%R" # Hour:Minute Format
|
||||||
style = "bg:peach"
|
style = "bg:#33658A"
|
||||||
format = '[[ $time ](fg:mantle bg:purple)]($style)'
|
format = '[ $time ]($style)'
|
||||||
|
|
||||||
[line_break]
|
|
||||||
disabled = false
|
|
||||||
|
|
||||||
[character]
|
|
||||||
disabled = false
|
|
||||||
success_symbol = '[](bold fg:green)'
|
|
||||||
error_symbol = '[](bold fg:red)'
|
|
||||||
vimcmd_symbol = '[](bold fg:creen)'
|
|
||||||
vimcmd_replace_one_symbol = '[](bold fg:purple)'
|
|
||||||
vimcmd_replace_symbol = '[](bold fg:purple)'
|
|
||||||
vimcmd_visual_symbol = '[](bold fg:lavender)'
|
|
||||||
|
|
|
||||||
191
starship/.config/starship.toml.old
Normal file
191
starship/.config/starship.toml.old
Normal file
|
|
@ -0,0 +1,191 @@
|
||||||
|
"$schema" = 'https://starship.rs/config-schema.json'
|
||||||
|
add_newline = true
|
||||||
|
|
||||||
|
format = """
|
||||||
|
[](surface0)\
|
||||||
|
$os\
|
||||||
|
$username\
|
||||||
|
[](bg:peach fg:surface0)\
|
||||||
|
$directory\
|
||||||
|
[](fg:peach bg:green)\
|
||||||
|
$git_branch\
|
||||||
|
$git_status\
|
||||||
|
[](fg:green bg:teal)\
|
||||||
|
$c\
|
||||||
|
$rust\
|
||||||
|
$golang\
|
||||||
|
$nodejs\
|
||||||
|
$php\
|
||||||
|
$java\
|
||||||
|
$kotlin\
|
||||||
|
$haskell\
|
||||||
|
$python\
|
||||||
|
[](fg:teal bg:blue)\
|
||||||
|
$docker_context\
|
||||||
|
[](fg:blue bg:purple)\
|
||||||
|
$time\
|
||||||
|
[ ](fg:purple)\
|
||||||
|
$line_break$character"""
|
||||||
|
|
||||||
|
palette = 'catppuccin_mocha'
|
||||||
|
|
||||||
|
[palettes.gruvbox_dark]
|
||||||
|
color_fg0 = '#fbf1c7'
|
||||||
|
color_bg1 = '#3c3836'
|
||||||
|
color_bg3 = '#665c54'
|
||||||
|
color_blue = '#458588'
|
||||||
|
color_aqua = '#689d6a'
|
||||||
|
color_green = '#98971a'
|
||||||
|
color_orange = '#d65d0e'
|
||||||
|
color_purple = '#b16286'
|
||||||
|
color_red = '#cc241d'
|
||||||
|
color_yellow = '#d79921'
|
||||||
|
|
||||||
|
[palettes.catppuccin_mocha]
|
||||||
|
rosewater = "#f5e0dc"
|
||||||
|
flamingo = "#f2cdcd"
|
||||||
|
pink = "#f5c2e7"
|
||||||
|
orange = "#cba6f7"
|
||||||
|
red = "#f38ba8"
|
||||||
|
maroon = "#eba0ac"
|
||||||
|
peach = "#fab387"
|
||||||
|
yellow = "#f9e2af"
|
||||||
|
green = "#a6e3a1"
|
||||||
|
teal = "#94e2d5"
|
||||||
|
sky = "#89dceb"
|
||||||
|
sapphire = "#74c7ec"
|
||||||
|
blue = "#89b4fa"
|
||||||
|
lavender = "#b4befe"
|
||||||
|
text = "#cdd6f4"
|
||||||
|
subtext1 = "#bac2de"
|
||||||
|
subtext0 = "#a6adc8"
|
||||||
|
overlay2 = "#9399b2"
|
||||||
|
overlay1 = "#7f849c"
|
||||||
|
overlay0 = "#6c7086"
|
||||||
|
surface2 = "#585b70"
|
||||||
|
surface1 = "#45475a"
|
||||||
|
surface0 = "#313244"
|
||||||
|
base = "#1e1e2e"
|
||||||
|
mantle = "#181825"
|
||||||
|
crust = "#11111b"
|
||||||
|
|
||||||
|
[os]
|
||||||
|
disabled = false
|
||||||
|
style = "bg:surface0 fg:text"
|
||||||
|
|
||||||
|
[os.symbols]
|
||||||
|
Windows = ""
|
||||||
|
Ubuntu = ""
|
||||||
|
SUSE = ""
|
||||||
|
Raspbian = ""
|
||||||
|
Mint = ""
|
||||||
|
Macos = ""
|
||||||
|
Manjaro = ""
|
||||||
|
Linux = ""
|
||||||
|
Gentoo = ""
|
||||||
|
Fedora = ""
|
||||||
|
Alpine = ""
|
||||||
|
Amazon = ""
|
||||||
|
Android = ""
|
||||||
|
Arch = ""
|
||||||
|
Artix = ""
|
||||||
|
CentOS = ""
|
||||||
|
Debian = ""
|
||||||
|
Redhat = ""
|
||||||
|
RedHatEnterprise = ""
|
||||||
|
|
||||||
|
[username]
|
||||||
|
show_always = true
|
||||||
|
style_user = "bg:surface0 fg:text"
|
||||||
|
style_root = "bg:surface0 fg:text"
|
||||||
|
format = '[ $user ]($style)'
|
||||||
|
|
||||||
|
[directory]
|
||||||
|
style = "fg:mantle bg:peach"
|
||||||
|
format = "[ $path ]($style)"
|
||||||
|
truncation_length = 3
|
||||||
|
truncation_symbol = "…/"
|
||||||
|
|
||||||
|
[directory.substitutions]
|
||||||
|
"Documents" = " "
|
||||||
|
"Downloads" = " "
|
||||||
|
"Music" = " "
|
||||||
|
"Pictures" = " "
|
||||||
|
"Developer" = " "
|
||||||
|
|
||||||
|
[git_branch]
|
||||||
|
symbol = ""
|
||||||
|
style = "bg:teal"
|
||||||
|
format = '[[ $symbol $branch ](fg:base bg:green)]($style)'
|
||||||
|
|
||||||
|
[git_status]
|
||||||
|
style = "bg:teal"
|
||||||
|
format = '[[($all_status$ahead_behind )](fg:base bg:green)]($style)'
|
||||||
|
|
||||||
|
[nodejs]
|
||||||
|
symbol = ""
|
||||||
|
style = "bg:teal"
|
||||||
|
format = '[[ $symbol( $version) ](fg:base bg:teal)]($style)'
|
||||||
|
|
||||||
|
[c]
|
||||||
|
symbol = " "
|
||||||
|
style = "bg:teal"
|
||||||
|
format = '[[ $symbol( $version) ](fg:base bg:teal)]($style)'
|
||||||
|
|
||||||
|
[rust]
|
||||||
|
symbol = ""
|
||||||
|
style = "bg:teal"
|
||||||
|
format = '[[ $symbol( $version) ](fg:base bg:teal)]($style)'
|
||||||
|
|
||||||
|
[golang]
|
||||||
|
symbol = ""
|
||||||
|
style = "bg:teal"
|
||||||
|
format = '[[ $symbol( $version) ](fg:base bg:teal)]($style)'
|
||||||
|
|
||||||
|
[php]
|
||||||
|
symbol = ""
|
||||||
|
style = "bg:teal"
|
||||||
|
format = '[[ $symbol( $version) ](fg:base bg:teal)]($style)'
|
||||||
|
|
||||||
|
[java]
|
||||||
|
symbol = " "
|
||||||
|
style = "bg:teal"
|
||||||
|
format = '[[ $symbol( $version) ](fg:base bg:teal)]($style)'
|
||||||
|
|
||||||
|
[kotlin]
|
||||||
|
symbol = ""
|
||||||
|
style = "bg:teal"
|
||||||
|
format = '[[ $symbol( $version) ](fg:base bg:teal)]($style)'
|
||||||
|
|
||||||
|
[haskell]
|
||||||
|
symbol = ""
|
||||||
|
style = "bg:teal"
|
||||||
|
format = '[[ $symbol( $version) ](fg:base bg:teal)]($style)'
|
||||||
|
|
||||||
|
[python]
|
||||||
|
symbol = ""
|
||||||
|
style = "bg:teal"
|
||||||
|
format = '[[ $symbol( $version) ](fg:base bg:teal)]($style)'
|
||||||
|
|
||||||
|
[docker_context]
|
||||||
|
symbol = ""
|
||||||
|
style = "bg:mantle"
|
||||||
|
format = '[[ $symbol( $context) ](fg:#83a598 bg:color_bg3)]($style)'
|
||||||
|
|
||||||
|
[time]
|
||||||
|
disabled = false
|
||||||
|
time_format = "%R"
|
||||||
|
style = "bg:peach"
|
||||||
|
format = '[[ $time ](fg:mantle bg:purple)]($style)'
|
||||||
|
|
||||||
|
[line_break]
|
||||||
|
disabled = false
|
||||||
|
|
||||||
|
[character]
|
||||||
|
disabled = false
|
||||||
|
success_symbol = '[](bold fg:green)'
|
||||||
|
error_symbol = '[](bold fg:red)'
|
||||||
|
vimcmd_symbol = '[](bold fg:creen)'
|
||||||
|
vimcmd_replace_one_symbol = '[](bold fg:purple)'
|
||||||
|
vimcmd_replace_symbol = '[](bold fg:purple)'
|
||||||
|
vimcmd_visual_symbol = '[](bold fg:lavender)'
|
||||||
Loading…
Add table
Reference in a new issue