about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPaul Ackersviller <packersv@users.sourceforge.net>2007-11-25 18:36:06 +0000
committerPaul Ackersviller <packersv@users.sourceforge.net>2007-11-25 18:36:06 +0000
commit2985ea883b04a800004aafa86f951d83a8f721a7 (patch)
treef7f79f3d2f13f67dcd83f17fbc4525adb3a2fd23
parent7d210cad9cbdd444343959e8565315de9f71dd82 (diff)
downloadzsh-2985ea883b04a800004aafa86f951d83a8f721a7.tar.gz
zsh-2985ea883b04a800004aafa86f951d83a8f721a7.tar.xz
zsh-2985ea883b04a800004aafa86f951d83a8f721a7.zip
Merge of unposted: make sure localtraps is unset before setting TRAPWINCH.
-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