Add a Taskwarrior pending count to Starship prompt

This commit is contained in:
Danielle McLean 2021-07-19 11:05:35 +10:00
parent 6b4bc5512e
commit 8ae8c1149e
Signed by: 00dani
GPG key ID: 9DDE1EDE01E3A605

View file

@ -5,6 +5,12 @@ vicmd_symbol = "[](bold purple)"
[git_status] [git_status]
style = "218" style = "218"
[custom.task_count_pending]
command = "task count rc.gc=off rc.verbose=nothing status:pending"
when = "which task"
symbol = " "
description = "Count of pending Taskwarrior tasks"
# https://starship.rs/presets/#nerd-font-symbols # https://starship.rs/presets/#nerd-font-symbols
[aws] [aws]
disabled = true disabled = true