summaryrefslogtreecommitdiffstats
path: root/private_dot_config/starship.toml
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2024-12-11 19:46:32 +0000
committerSanto Cariotti <santo@dcariotti.me>2024-12-11 19:47:59 +0000
commitf22f1723c01b56da14ae1de3491a78af1bc4c464 (patch)
tree030411c811d3474c4b322eca29d1bf8e96b7511f /private_dot_config/starship.toml
parentd8713792f93473fe14e01d151529fb6ef139448f (diff)
Dot files with `chezmoi`
Diffstat (limited to 'private_dot_config/starship.toml')
-rw-r--r--private_dot_config/starship.toml40
1 files changed, 40 insertions, 0 deletions
diff --git a/private_dot_config/starship.toml b/private_dot_config/starship.toml
new file mode 100644
index 0000000..328ae61
--- /dev/null
+++ b/private_dot_config/starship.toml
@@ -0,0 +1,40 @@
+add_newline = false
+
+[character]
+success_symbol = '[\$](bold green)'
+error_symbol = '[\$](bold red)'
+
+[directory]
+truncation_length = 4
+style = "cyan"
+
+[line_break]
+disabled = true
+
+[custom.ssh_keys]
+disabled = true
+description = "SSH key count"
+when = "ssh-add -l | grep -v -q 'no identities'"
+command = "ssh-add -l | grep -v 'no identities' | wc -l"
+format = "$symbol[$output]($style) "
+shell = ["bash", "--noprofile", "--norc"]
+symbol = "🔑"
+style = "bold fg:green"
+
+[gcloud]
+disabled = true
+
+[username]
+style_user = 'fg:11 bold'
+style_root = 'cyan bold'
+format = '[$user]($style)'
+disabled = false
+show_always = true
+
+[hostname]
+ssh_only = false
+format = '[$ssh_symbol](bold blue)@[$hostname](bold red) '
+disabled = false
+
+[package]
+disabled = true