aboutsummaryrefslogtreecommitdiff
path: root/internal/p10k.zsh
diff options
context:
space:
mode:
Diffstat (limited to 'internal/p10k.zsh')
-rw-r--r--internal/p10k.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh
index fcd2106c..d58b533b 100644
--- a/internal/p10k.zsh
+++ b/internal/p10k.zsh
@@ -5863,7 +5863,7 @@ _p9k_dump_instant_prompt() {
local tmp=$prompt_file.tmp.$$
zf_mv -f -- $prompt_file $tmp 2>/dev/null
- if [[ "$(<$prompt_file)" == *$'\x1e'$_p9k__instant_prompt_sig$'\x1f'* ]] 2>/dev/null; then
+ if [[ "$(<$tmp)" == *$'\x1e'$_p9k__instant_prompt_sig$'\x1f'* ]] 2>/dev/null; then
echo -n >$tmp || return
fi