mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2026-10-06 19:46:21 +00:00
attempt to fix a weird todo corner case. unlikely to help
This commit is contained in:
1 parent
15f0284b12
commit
f99cefc5ec
1 file changed
+2
-2
+2
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user