From 02772b3375cba0149d6285efea851cd89bc2d3de Mon Sep 17 00:00:00 2001 From: Alwaysproblem Date: Wed, 1 Feb 2023 17:22:21 +0800 Subject: [PATCH] fix centos core dump --- dash-passion.zsh-theme | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dash-passion.zsh-theme b/dash-passion.zsh-theme index 9fffb0d..a54142b 100644 --- a/dash-passion.zsh-theme +++ b/dash-passion.zsh-theme @@ -335,7 +335,7 @@ schedprompt() { # to avoid error messages). # Otherwise it updates on entry to zle, so there's no loss. if [ "$WIDGET" = "" ] || [ "$WIDGET" = "accept-line" ] ; then - zle && zle reset-prompt; + zle && zle .reset-prompt; fi # This ensures we're not too far off the start of the minute