From a816272de4281a5fdb7d6cb400bcf58d32b8fdbb Mon Sep 17 00:00:00 2001 From: Nick Boughton Date: Sun, 11 Jul 2021 20:39:26 +0100 Subject: [PATCH] finally bothered to configure starship --- starship.toml | 80 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 80 insertions(+) create mode 100644 starship.toml diff --git a/starship.toml b/starship.toml new file mode 100644 index 0000000..391a503 --- /dev/null +++ b/starship.toml @@ -0,0 +1,80 @@ +# Use custom format +format = """ +[┌─](bold blue) $username[@](bold blue)$hostname +[│](bold blue) $directory\ +$shlvl\ +$kubernetes\ +$vcsh\ +$git_branch\ +$git_commit\ +$git_state\ +$git_status\ +$hg_branch\ +$docker_context\ +$package\ +$cmake\ +$dart\ +$deno\ +$dotnet\ +$elixir\ +$elm\ +$erlang\ +$golang\ +$helm\ +$java\ +$julia\ +$kotlin\ +$nim\ +$nodejs\ +$ocaml\ +$perl\ +$php\ +$purescript\ +$python\ +$red\ +$ruby\ +$rust\ +$scala\ +$swift\ +$terraform\ +$vlang\ +$vagrant\ +$zig\ +$nix_shell\ +$conda\ +$memory_usage\ +$aws\ +$gcloud\ +$openstack\ +$env_var\ +$crystal\ +$custom\ +$cmd_duration\ +$line_break\ +$lua\ +$jobs\ +$battery\ +$time\ +$status\ +$shell\ +$character """ + +# Wait 10 milliseconds for starship to check files under the current directory. +scan_timeout = 10 + +# Disable the blank line at the start of the prompt +add_newline = true + +[username] +style_user = "blue bold dimmed" +style_root = "red bold" +format = "[$user]($style)" +show_always = true + +[hostname] +ssh_only = false +format = "[$hostname]($style)" +style = "bold blue dimmed" + +[character] +format = "[└─](bold blue)$symbol"