summaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2019-06-09 00:27:56 +0300
committerromkatv <roman.perepelitsa@gmail.com>2019-06-09 00:27:56 +0300
commitf99cefc5ec30064111fb21df8ae32151fd0f33ca (patch)
treea9c23b29fb264c69a104fe9c36d8715376771843 /internal
parent15f0284b127b279d523d3a80db96efe6cd2a382b (diff)
attempt to fix a weird todo corner case. unlikely to help
Diffstat (limited to 'internal')
-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