mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 06:39:14 +00:00
starship: add time in the prompt
This commit is contained in:
parent
057a443b0f
commit
2c3376a24e
1 changed files with 9 additions and 1 deletions
|
|
@ -6,7 +6,11 @@ $nix_shell\
|
|||
$golang$haskell$rust$typst$python
|
||||
$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 ####################
|
||||
|
|
@ -100,6 +104,10 @@ format = '[ $version]($style)'
|
|||
style = "bold #5e5086"
|
||||
#################### Language modules ####################
|
||||
|
||||
[time]
|
||||
disabled = false
|
||||
format = '[$time]($style) '
|
||||
style = "brown"
|
||||
|
||||
#################### Right hand side ####################
|
||||
[cmd_duration]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue