From 87d45f708ba6e60f3f09cbbef13db4e3adab1634 Mon Sep 17 00:00:00 2001 From: Violet Millie Date: Tue, 4 Jun 2024 20:29:11 +0100 Subject: [PATCH] Add Git branch and fix directory module --- starship.toml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/starship.toml b/starship.toml index 0f1b828..075690a 100644 --- a/starship.toml +++ b/starship.toml @@ -1,5 +1,5 @@ format = ''' -╭─$time $username@$hostname $directory +╭─$time $username@$hostname $directory $git_branch ╰─$character ''' @@ -28,4 +28,9 @@ format="$hostname" style="" [directory] -format="$directory" +format="$path" + +[git_branch] +format="$symbol $branch" +symbol= '🌱' +disabled=false