From 095fcd5735cbeaf2359e7eb4308eb7fffba4eb26 Mon Sep 17 00:00:00 2001 From: notohh Date: Tue, 29 Nov 2022 17:31:15 -0500 Subject: [PATCH] add starship --- starship/.config/starship.toml | 129 +++++++++++++++++++++++++++++++++ 1 file changed, 129 insertions(+) create mode 100644 starship/.config/starship.toml diff --git a/starship/.config/starship.toml b/starship/.config/starship.toml new file mode 100644 index 0000000..58f32da --- /dev/null +++ b/starship/.config/starship.toml @@ -0,0 +1,129 @@ +format = """ +[](#f5c2e7)\ +$username\ +[](bg:#f38ba8 fg:#f5c2e7)\ +$directory\ +[](fg:#f38ba8 bg:#eb7c92)\ +$git_branch\ +$git_status\ +[](fg:#eb7c92 bg:#e6657f)\ +$c\ +$elixir\ +$elm\ +$golang\ +$haskell\ +$java\ +$julia\ +$nodejs\ +$nim\ +$rust\ +$scala\ +$docker_context\ +[](fg:#e6657f bg:#e05a75)\ +$time\ +[ ](fg:#e05a75)\ +""" + +# Disable the blank line at the start of the prompt +# add_newline = false + +# You can also replace your username with a neat symbol like  to save some space +[username] +show_always = true +style_user = "bg:#f5c2e7 fg:#11111b" +style_root = "bg:#f5c2e7 fg:#11111b" +format = '[$user ]($style)' + +[directory] +style = "bg:#f38ba8 fg:#11111b" +format = "[ $path ]($style)" +truncation_length = 3 +truncation_symbol = "…/" + +# Here is how you can shorten some long paths by text replacement +# similar to mapped_locations in Oh My Posh: +[directory.substitutions] +"Documents" = " " +"Downloads" = " " +"Music" = " " +"Pictures" = " " +# Keep in mind that the order matters. For example: +# "Important Documents" = "  " +# will not be replaced, because "Documents" was already substituted before. +# So either put "Important Documents" before "Documents" or use the substituted version: +# "Important  " = "  " + +[c] +symbol = " " +style = "bg:#e6657f fg:#11111b" +format = '[ $symbol ($version) ]($style)' + +[docker_context] +symbol = " " +style = "bg:#e6657f fg:#11111b" +format = '[ $symbol $context ]($style) $path' + +[elixir] +symbol = " " +style = "bg:#e6657f fg:#11111b" +format = '[ $symbol ($version) ]($style)' + +[elm] +symbol = " " +style = "bg:#e6657f fg:#11111b" +format = '[ $symbol ($version) ]($style)' + +[git_branch] +symbol = "" +style = "bg:#eb7c92 fg:#11111b" +format = '[ $symbol $branch ]($style)' + +[git_status] +style = "bg:#eb7c92 fg:#11111b" +format = '[$all_status$ahead_behind ]($style)' + +[golang] +symbol = " " +style = "bg:#e6657f fg:#11111b" +format = '[ $symbol ($version) ]($style)' + +[haskell] +symbol = " " +style = "bg:#e6657f fg:#11111b" +format = '[ $symbol ($version) ]($style)' + +[java] +symbol = " " +style = "bg:#e6657f fg:#11111b" +format = '[ $symbol ($version) ]($style)' + +[julia] +symbol = " " +style = "bg:#e6657f fg:#11111b" +format = '[ $symbol ($version) ]($style)' + +[nodejs] +symbol = "" +style = "bg:#e6657f fg:#11111b" +format = '[ $symbol ($version) ]($style)' + +[nim] +symbol = " " +style = "bg:#e6657f fg:#11111b" +format = '[ $symbol ($version) ]($style)' + +[rust] +symbol = "" +style = "bg:#e6657f fg:#11111b" +format = '[ $symbol ($version) ]($style)' + +[scala] +symbol = " " +style = "bg:#e6657f fg:#11111b" +format = '[ $symbol ($version) ]($style)' + +[time] +disabled = false +time_format = "%R" # Hour:Minute Format +style = "bg:#e05a75 fg:#11111b" +format = '[ $time ]($style)'