From cacc98a7d3c9b5e6c43e2c469a1839e874c294eb Mon Sep 17 00:00:00 2001 From: Ismo Vuorinen Date: Mon, 13 Feb 2023 10:32:43 +0200 Subject: [PATCH] zsh: updated starship config --- config/starship.toml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/config/starship.toml b/config/starship.toml index 6db27d1..166f678 100644 --- a/config/starship.toml +++ b/config/starship.toml @@ -7,3 +7,33 @@ add_newline = true # Replace the '❯' symbol in the prompt with '➜' [character] # The name of the module we are configuring is 'character' success_symbol = '[➜](bold green)' # The 'success_symbol' segment is being set to '➜' with the color 'bold green' + +[cmd_duration] +disabled = true + +[directory] +truncation_length = 2 +truncation_symbol = '…/' + +[git_branch] +symbol = '🌱 ' +truncation_length = 4 +truncation_symbol = '' +ignore_branches = ['master', 'main'] + +[git_status] +up_to_date = '✓' +staged = '[++\($count\)](green)' + +[package] +format = '[$symbol($version )]($style)' +version_format = '${major}.${minor}' + +[php] +format = '[$symbol($version )]($style)' +version_format = '${major}.${minor}' + +[nodejs] +format = '[$symbol($version )]($style)' +version_format = '${major}.${minor}' +