not exist is a "success"?
This commit is contained in:
parent
5ba1d7324b
commit
a74a0e8d0f
1 changed files with 1 additions and 1 deletions
|
@ -1712,7 +1712,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
function prompt_mytodo() {
|
function prompt_mytodo() {
|
||||||
(( $+commands[todo] )) || return
|
(( $+commands[todo] )) && return
|
||||||
[ -f "todo.md" ] || return
|
[ -f "todo.md" ] || return
|
||||||
local todo_status="$(HWYLTERM_FORCE_COLOR=1 todo show --status --totals)"
|
local todo_status="$(HWYLTERM_FORCE_COLOR=1 todo show --status --totals)"
|
||||||
p10k segment -t "%f$(_enclose_ansi $todo_status)"
|
p10k segment -t "%f$(_enclose_ansi $todo_status)"
|
||||||
|
|
Loading…
Add table
Reference in a new issue