summaryrefslogtreecommitdiff
path: root/internal/p10k.zsh
diff options
context:
space:
mode:
Diffstat (limited to 'internal/p10k.zsh')
-rwxr-xr-xinternal/p10k.zsh4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh
index 5455723e..4175a414 100755
--- a/internal/p10k.zsh
+++ b/internal/p10k.zsh
@@ -1571,10 +1571,10 @@ prompt_todo() {
local script="
function dirname() {
local f=\$1
- [[ \"\$f\" == bash ]] && f=${(Q)commands[todo.sh]}
+ [[ \"\$f\" == bash ]] && f=${(qqq)todo}
command dirname \"\$f\"
}
- source todo.sh shorthelp &>/dev/null
+ source ${(qqq)todo} shorthelp &>/dev/null
echo \"\$TODO_FILE\""
typeset -g _P9K_TODO_FILE=$(bash -c $script)
fi