diff options
author | Justine Smithies <justine@smithies.me.uk> | 2023-08-22 19:49:10 +0100 |
---|---|---|
committer | Justine Smithies <justine@smithies.me.uk> | 2023-08-22 19:49:10 +0100 |
commit | 42be997a9eb95fde0e1806f100ca4b8d463b5d05 (patch) | |
tree | 8ad28000f0a43162f89a52976e40eb597d713153 | |
parent | 1e6cf5b777c71cfabfdc39361d4059d3134a7420 (diff) |
Initial commit
-rwxr-xr-x | .config/starship/config.toml | 102 |
1 files changed, 102 insertions, 0 deletions
diff --git a/.config/starship/config.toml b/.config/starship/config.toml new file mode 100755 index 0000000..fd14b68 --- /dev/null +++ b/.config/starship/config.toml @@ -0,0 +1,102 @@ +# starship config.toml + +# Use custom format +format = """ +[╭─](bold blue)$username\ +$hostname\ +$shlvl\ +$kubernetes\ +$directory\ +$git_branch\ +$git_commit\ +$git_state\ +$git_status\ +$hg_branch\ +$docker_context\ +$package\ +$cmake\ +$dart\ +$dotnet\ +$elixir\ +$elm\ +$erlang\ +$golang\ +$helm\ +$java\ +$julia\ +$kotlin\ +$nim\ +$nodejs\ +$ocaml\ +$perl\ +$php\ +$purescript\ +$python\ +$ruby\ +$rust\ +$scala\ +$swift\ +$terraform\ +$vagrant\ +$zig\ +$nix_shell\ +$conda\ +$memory_usage\ +$aws\ +$gcloud\ +$openstack\ +$env_var\ +$crystal\ +$custom\ +$cmd_duration\ +$line_break\ +$lua\ +$time\ +$status\ +$shell\ +[╰>](bold blue) """ + +# 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 = false + +[username] +style_user = "green bold" +style_root = "red bold" +format = "(bold green)[$user]($style)" +disabled = false +show_always = true + +[hostname] +ssh_only = false +format = "[@$hostname ](green bold)" +disabled = false + +[directory] +read_only = " 🔒" +read_only_style = "fg:blue bold" +style = "blue bold" +format = "[$path ]($style)[$read_only]($read_only_style)" + +[git_branch] +symbol = " " +always_show_remote = false +format = "[on $symbol$branch]($style) " +style = "purple bold" +only_attached = false +disabled = false + +[git_status] +conflicted = "🏳" +ahead = "🏎💨" +behind = "😰" +diverged = "😵" +up_to_date = "[✓](green)" +untracked = "($count) Untracked files " +stashed = "📦" +modified = "📝" +staged = '[++\($count\)](green)' +renamed = "👅" +deleted = "🗑" |