mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-16 17:50:09 +00:00
attempt to fix a weird todo corner case. unlikely to help
This commit is contained in:
parent
15f0284b12
commit
f99cefc5ec
1 changed files with 2 additions and 2 deletions
|
@ -1571,10 +1571,10 @@ prompt_todo() {
|
||||||
local script="
|
local script="
|
||||||
function dirname() {
|
function dirname() {
|
||||||
local f=\$1
|
local f=\$1
|
||||||
[[ \"\$f\" == bash ]] && f=${(Q)commands[todo.sh]}
|
[[ \"\$f\" == bash ]] && f=${(qqq)todo}
|
||||||
command dirname \"\$f\"
|
command dirname \"\$f\"
|
||||||
}
|
}
|
||||||
source todo.sh shorthelp &>/dev/null
|
source ${(qqq)todo} shorthelp &>/dev/null
|
||||||
echo \"\$TODO_FILE\""
|
echo \"\$TODO_FILE\""
|
||||||
typeset -g _P9K_TODO_FILE=$(bash -c $script)
|
typeset -g _P9K_TODO_FILE=$(bash -c $script)
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue