From 2ed57158c17f34370433cd0735d0711c6e11f672 Mon Sep 17 00:00:00 2001 From: Hendrik Boll Date: Sun, 16 Mar 2025 16:00:14 +0100 Subject: [PATCH] starship: initial config --- dot_config/starship.toml | 53 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 dot_config/starship.toml diff --git a/dot_config/starship.toml b/dot_config/starship.toml new file mode 100644 index 0000000..02cc9b0 --- /dev/null +++ b/dot_config/starship.toml @@ -0,0 +1,53 @@ +add_newline = false + +format = '''\[[$username $hostname](bold green)\] $directory + $character [\$](bold green) ''' + +right_format = """ +$git_branch\ +$git_commit\ +$git_state\ +$git_status\ +$package\ +$elixir\ +$elm\ +$erlang\ +$gleam\ +$golang\ +$julia\ +$lua\ +$php\ +$python\ +$rust\ +$vlang\ +$meson\ +$direnv\ +$env_var\ +$crystal""" + +[username] +show_always = true +format = '[$user]($style) @' +style_user = 'bold green' + +[hostname] +ssh_only = false +format = '[$hostname]($style)' +style = 'bold green' + +[character] +success_symbol = '[✔](bold green)' +error_symbol = '[✗](bold red)' + +[container] +style = 'bold blue dimmed' + +[directory] +truncation_symbol = '.../' +truncate_to_repo = false +before_repo_root_style = 'bold cyan' +repo_root_style = 'bold bright-cyan' +repo_root_format = '[$before_root_path]($before_repo_root_style)[$repo_root]($repo_root_style)[$path]($repo_root_style)[$read_only]($read_only_style) ' + +[fill] +symbol = ' '