starship: add time in the prompt

This commit is contained in:
Primrose 2025-06-20 00:59:13 +02:00
parent 057a443b0f
commit 2c3376a24e
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA

View file

@ -6,7 +6,11 @@ $nix_shell\
$golang$haskell$rust$typst$python $golang$haskell$rust$typst$python
$character $character
""" """
right_format = '$cmd_duration$git_state$git_branch$git_commit$git_status' right_format = """
$cmd_duration\
$time\
$git_state$git_branch$git_commit$git_status
"""
#################### Theme #################### #################### Theme ####################
@ -100,6 +104,10 @@ format = '[ $version]($style)'
style = "bold #5e5086" style = "bold #5e5086"
#################### Language modules #################### #################### Language modules ####################
[time]
disabled = false
format = '[$time]($style) '
style = "brown"
#################### Right hand side #################### #################### Right hand side ####################
[cmd_duration] [cmd_duration]