From 8d45d0056f6cf439c449c2a04a5d0f940b0610a7 Mon Sep 17 00:00:00 2001 From: Severin Kaderli Date: Sun, 4 Oct 2020 18:26:17 +0200 Subject: [PATCH] Update Starship configuration Signed-off-by: Severin Kaderli --- system/.config/starship/config.toml | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/system/.config/starship/config.toml b/system/.config/starship/config.toml index 5fb6995..bf280b4 100644 --- a/system/.config/starship/config.toml +++ b/system/.config/starship/config.toml @@ -1,28 +1,22 @@ # Don't print a new line at the start of the prompt add_newline = false -prompt_order = [ - "time", - "directory", - "git_branch", - "line_break", - "character" -] +format = "${time}${directory}${git_branch}${line_break}${character}" -# Replace the "❯" symbol in the prompt with "➜" -[character] # The name of the module we are configuring is "character" -symbol = "➜" # The "symbol" segment is being set to "➜" + +[character] +success_symbol = "[➜](bold green)" +error_symbol = "[➜](bold red)" [directory] truncate_to_repo = false +format = "in [$path]($style)[$read_only]($read_only_style) " [hostname] ssh_only = false [time] disabled = false - -[username] -show_always = true +format = "[$time]($style) " [git_branch] symbol = "" \ No newline at end of file