From eb9c7bac0a4075de6b9e9c82adba72273fe628b4 Mon Sep 17 00:00:00 2001 From: TomfromBerlin Date: Mon, 23 Mar 2026 23:15:37 +0100 Subject: [PATCH] Make Ctrl+C work - zsh-autocomplete defines its own TRAPINT() function in a global scope. That is, every other TRAPINT() function defined by the user or other plugins will be overwritten immediately, when autocomplete is active. This leads to unexpected and had to trace behavior, e.g. if there is a 'read -sk1' and Ctrl+C is pressed, strange error messages appear. The work around is 'read -sk1 || return 1' --- functions/zramdisk_troubleshooting | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/functions/zramdisk_troubleshooting b/functions/zramdisk_troubleshooting index 24cdda5..7e9fa7d 100644 --- a/functions/zramdisk_troubleshooting +++ b/functions/zramdisk_troubleshooting @@ -17,7 +17,7 @@ zramdisk_troubleshooting() { emulate -L zsh setopt LOCALOPTIONS - +clear cat <