From f22f1723c01b56da14ae1de3491a78af1bc4c464 Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Wed, 11 Dec 2024 20:46:32 +0100 Subject: Dot files with `chezmoi` --- private_dot_config/starship.toml | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 private_dot_config/starship.toml (limited to 'private_dot_config/starship.toml') 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 -- cgit v1.2.3-18-g5258