From ddbb985e96c9bb76dd7844654d4175be3cd65d45 Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Sat, 2 Nov 2024 22:34:00 +0100 Subject: checkpoint --- config/essentials/starship.toml | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) (limited to 'config/essentials/starship.toml') diff --git a/config/essentials/starship.toml b/config/essentials/starship.toml index efcaf48..c782766 100644 --- a/config/essentials/starship.toml +++ b/config/essentials/starship.toml @@ -3,23 +3,18 @@ # Inserts a blank line between shell prompts add_newline = false # format = ' ${custom.upds}' -format = ' [\[$username@$hostname\]](bg:#000000) $all' -right_format = """$status""" +format = '$directory($git_branch$git_state$git_status$status)$character' +right_format = """""" [character] -format = ' \$ ' +format = '\$ ' -[username] -style_root = "bold red" -style_user = "bold purple" -format = "[$user]($style bg:#000000)" -show_always = true -disabled = false +[git_branch] +format = '[$branch(:$remote_branch)]($style) ' +style = 'bold purple' -[hostname] -ssh_only = false -style = "bold cyan bg:#000000" -format = "[$hostname]($style)" +[git_status] +format = '[$all_status$ahead_behind]($style) ' [directory] truncation_length = 4 -- cgit v1.2.3