🎨 ux(starship): added git metrics, cmd duration and custom.list-folders modules
This commit is contained in:
parent
ae5f09e437
commit
50fb6f50ff
1 changed files with 20 additions and 1 deletions
|
@ -4,6 +4,16 @@
|
|||
# Inserts a blank line between shell prompts
|
||||
add_newline = true
|
||||
|
||||
[cmd_duration]
|
||||
min_time = 2000
|
||||
format = "[ $duration](bold cyan)"
|
||||
|
||||
[git_metrics]
|
||||
disabled = false
|
||||
added_style = "green"
|
||||
deleted_style = "red"
|
||||
format = '(\([+$added]($added_style)/[-$deleted]($deleted_style)\)) '
|
||||
|
||||
[git_status]
|
||||
ahead = '[ $count](bold green) '
|
||||
conflicted = '[ ](bold red) '
|
||||
|
@ -30,6 +40,15 @@ style = "blue"
|
|||
format = "[ ]($style)"
|
||||
detect_files = ["hyprland.conf"]
|
||||
|
||||
[custom.folder_number]
|
||||
description = "Number of files (and folders) in the current working directory"
|
||||
command = "fd -H --min-depth 1 --max-depth 1 | wc -l"
|
||||
when = "true"
|
||||
require_repo = true
|
||||
symbol = " "
|
||||
style = "blue bold"
|
||||
format = '[$symbol$output]($style) '
|
||||
|
||||
[aws]
|
||||
symbol = " "
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue