From c1c5a17b4efbaa8801ff777612594dd7e0644df8 Mon Sep 17 00:00:00 2001 From: Lee Tang Date: Fri, 4 Aug 2023 11:45:34 +0800 Subject: [PATCH] update Signed-off-by: Lee Tang --- starship.toml | 28 +++++++++++++++++++++++++--- 1 file changed, 25 insertions(+), 3 deletions(-) diff --git a/starship.toml b/starship.toml index 040b9b9..7e41d9f 100644 --- a/starship.toml +++ b/starship.toml @@ -7,7 +7,29 @@ palette = "catppuccin_mocha" add_newline = true scan_timeout = 10 -format = '$directory$git_branch$git_commit$git_state$git_status$golang$helm$java$nodejs$python$red$ruby$rust$kubernetes$custom$cmd_duration$lua$line_break$jobs$time$status$shell$character' +format = """$directory\ + $git_branch\ + $git_commit\ + $git_state\ + $git_status\ + $golang\ + $helm\ + $java\ + $nodejs\ + $python\ + $red\ + $ruby\ + $rust\ + $kubernetes\ + $custom\ + $cmd_duration\ + $lua\ + $time\ + $line_break\ + $jobs\ + $status\ + $shell\ + $character""" # Replace the "❯" symbol in the prompt with "➜" [character] # The name of the module we are configuring is "character" @@ -19,10 +41,10 @@ vimcmd_replace_symbol = "[←](bold purple)" vimcmd_visual_symbol = "[←](bold yellow)" [time] -disabled = true +disabled = false time_format = '%R' format = '[\[ $time \]]($style) ' -style = "white dimmed" +style = "gray" [username] style_user = "purple bold"