From fe78b132c156ab866d61a184e829a98dababa799 Mon Sep 17 00:00:00 2001 From: Jeff LANCE Date: Sat, 6 Jan 2024 23:11:26 +0100 Subject: [PATCH] Add starship. --- dot_config/starship.toml | 151 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 151 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..4954398 --- /dev/null +++ b/dot_config/starship.toml @@ -0,0 +1,151 @@ +# ~/.config/starship.toml + +format = """ +$username\ +$hostname\ +$localip\ +$shlvl\ +$singularity\ +$kubernetes\ +$directory\ +$vcsh\ +$git_branch\ +$git_commit\ +$git_state\ +$git_metrics\ +$git_status\ +$hg_branch\ +$docker_context\ +$package\ +$cmake\ +$cobol\ +$container\ +$dart\ +$deno\ +$dotnet\ +$elixir\ +$elm\ +$erlang\ +$golang\ +$helm\ +$java\ +$julia\ +$kotlin\ +$lua\ +$nim\ +$nodejs\ +$ocaml\ +$perl\ +$php\ +$pulumi\ +$purescript\ +$python\ +$rlang\ +$red\ +$ruby\ +$rust\ +$scala\ +$swift\ +$terraform\ +$vlang\ +$vagrant\ +$zig\ +$nix_shell\ +$conda\ +$memory_usage\ +$aws\ +$gcloud\ +$openstack\ +$azure\ +$env_var\ +$crystal\ +$custom\ +$sudo\ +$cmd_duration\ +$line_break\ +$jobs\ +$battery\ +$time\ +$status\ +$shell\ +$character""" + +# Inserts a blank line between shell prompts +add_newline = true + +# Timeout for commands executed by starship (in milliseconds) +command_timeout = 5000 + +# Replace the "❯" symbol in the prompt with "➜" +[character] # The name of the module we are configuring is "character" +success_symbol = "[➜](bold green)" # The "success_symbol" segment is being set to "➜" with the color "bold green" + +# Disable the package module, hiding it from the prompt completely +[package] +disabled = true + +[aws] +symbol = " " + +[conda] +symbol = " " +format = "[$symbol$environment](dimmed green) " + +[dart] +symbol = " " + +[directory] +read_only = " " +format = "in [$path]($style)[$read_only]($read_only_style) " + +[docker_context] +symbol = " " + +[elixir] +symbol = " " + +[elm] +symbol = " " + +[git_branch] +symbol = " " + +[golang] +symbol = " " + +[hg_branch] +symbol = " " + +[hostname] +ssh_only = false +format = "on [$hostname](bold red) " +disabled = false + +[java] +symbol = " " + +[julia] +symbol = " " + +[memory_usage] +symbol = " " + +[nim] +symbol = " " + +[nix_shell] +symbol = " " + +[nodejs] +symbol = " " + +#[package] +#symbol = " " + +[rust] +symbol = " " + +[username] +format = "[$user]($style) " +show_always = true +