|
|
@ -4274,6 +4274,10 @@ function _p9k_clear_instant_prompt() {
|
|
|
|
local sp="${(%):-%b%k%f%s%u$mark${(pl.$fill.. .)}$cr%b%k%f%s%u%E}"
|
|
|
|
local sp="${(%):-%b%k%f%s%u$mark${(pl.$fill.. .)}$cr%b%k%f%s%u%E}"
|
|
|
|
print -rn -- $terminfo[rc]${(%):-%b%k%f%s%u}$terminfo[ed]
|
|
|
|
print -rn -- $terminfo[rc]${(%):-%b%k%f%s%u}$terminfo[ed]
|
|
|
|
if [[ -n ${(S)content//$'\e'*($'\a'|$'\e\\')} ]]; then
|
|
|
|
if [[ -n ${(S)content//$'\e'*($'\a'|$'\e\\')} ]]; then
|
|
|
|
|
|
|
|
local omz1='[Oh My Zsh] Would you like to update? [Y/n]: '
|
|
|
|
|
|
|
|
local omz2='Updating Oh My Zsh'
|
|
|
|
|
|
|
|
local omz3='Get your Oh My Zsh swag at: https://shop.planetargon.com/collections/oh-my-zsh'$'\n'
|
|
|
|
|
|
|
|
if [[ -n ${${content/$omz1}/$omz2*$omz3} ]]; then
|
|
|
|
echo -E - ""
|
|
|
|
echo -E - ""
|
|
|
|
echo -E - "${(%):-[%3FWARNING%f]: Console output during zsh initialization detected.}"
|
|
|
|
echo -E - "${(%):-[%3FWARNING%f]: Console output during zsh initialization detected.}"
|
|
|
|
echo -E - ""
|
|
|
|
echo -E - ""
|
|
|
@ -4315,6 +4319,7 @@ function _p9k_clear_instant_prompt() {
|
|
|
|
echo - "${(%):-%3F-- console output produced during zsh initialization follows --%f}"
|
|
|
|
echo - "${(%):-%3F-- console output produced during zsh initialization follows --%f}"
|
|
|
|
echo -E - ""
|
|
|
|
echo -E - ""
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
fi
|
|
|
|
cat $__p9k_instant_prompt_output
|
|
|
|
cat $__p9k_instant_prompt_output
|
|
|
|
echo -nE - $sp
|
|
|
|
echo -nE - $sp
|
|
|
|
zf_rm -f -- $__p9k_instant_prompt_output
|
|
|
|
zf_rm -f -- $__p9k_instant_prompt_output
|
|
|
|