summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/history.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/history.zsh b/lib/history.zsh
index fa3db927e..35da57de2 100644
--- a/lib/history.zsh
+++ b/lib/history.zsh
@@ -9,7 +9,7 @@ function omz_history {
# confirm action before deleting history
print -nu2 "This action will irreversibly delete your command history. Are you sure? [y/N] "
- builtin read
+ builtin read -E
[[ "$REPLY" = [yY] ]] || return 0
print -nu2 >| "$HISTFILE"