summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--Functions/Prompts/prompt_bart_setup4
1 files changed, 2 insertions, 2 deletions
diff --git a/Functions/Prompts/prompt_bart_setup b/Functions/Prompts/prompt_bart_setup
index c09ec64df..e6b28a477 100644
--- a/Functions/Prompts/prompt_bart_setup
+++ b/Functions/Prompts/prompt_bart_setup
@@ -137,7 +137,7 @@ prompt_bart_ps1 () {
 }
 
 prompt_bart_winch () {
-    setopt localoptions noksharrays unset
+    setopt localoptions nolocaltraps noksharrays unset
 
     # Delete ourself from TRAPWINCH if not using our precmd insert.
     [[ $functions[precmd] = *prompt_bart_precmd* ]] && prompt_bart_ps1 ||
@@ -145,7 +145,7 @@ prompt_bart_winch () {
 }
 
 prompt_bart_setup () {
-    setopt localoptions noksharrays unset
+    setopt localoptions nolocaltraps noksharrays unset
 
     # A few extra niceties ...
     repeat 1 case "$1:l" in