From 762534242de9e84a4bceb45a1ca2e58d2a15b50d Mon Sep 17 00:00:00 2001 From: mia Date: Sun, 10 Mar 2024 12:37:17 -0700 Subject: starship configuration --- starship.toml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 starship.toml (limited to 'starship.toml') diff --git a/starship.toml b/starship.toml new file mode 100644 index 0000000..7af93a5 --- /dev/null +++ b/starship.toml @@ -0,0 +1,32 @@ +"$schema" = 'https://starship.rs/config-schema.json' + +format = "([$username@$hostname](dimmed bright-white) )$directory$character" +right_format = "$cmd_duration$git_branch$git_commit$git_state$git_status$package" +add_newline = false + +[username] +format = '[$user]($style)' + +[hostname] +format = '[$hostname]($style)[$ssh_symbol](dimmed)' +ssh_symbol = " " + +[cmd_duration] +format = '(for [⏱ $duration]($style) )' + +[directory] +read_only = " 󰌾" + +[git_branch] +format = '(on [$symbol$branch]($style) )' +symbol = " " + +[git_commit] +disabled = false + +[git_status] +format = '([\[$all_status$ahead_behind\]]($style) )' + +[package] +format = '([$symbol$version]($style) )' +symbol = "󰏗 " -- cgit 1.4.1