1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-29 06:40:08 +00:00

bug fix: remove spurious "entry=" from instant prompt

This commit is contained in:
romkatv 2020-01-30 09:01:16 +01:00
parent 1f2251b799
commit 788ee7df4d

View file

@ -4956,7 +4956,7 @@ _p9k_dump_instant_prompt() {
echo -n >$tmp || return
fi
{ print -rn -- entry=$'\x1e'$_p9k__instant_prompt_sig$'\x1f'${(pj:\x1f:)_p9k_t}$'\x1f'$_p9k_instant_prompt >>$tmp } 2>/dev/null || return
{ print -rn -- $'\x1e'$_p9k__instant_prompt_sig$'\x1f'${(pj:\x1f:)_p9k_t}$'\x1f'$_p9k_instant_prompt >>$tmp } 2>/dev/null || return
zf_mv -f $tmp $prompt_file 2>/dev/null || return
}