about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBart Schaefer <barts@users.sourceforge.net>2007-10-14 16:35:10 +0000
committerBart Schaefer <barts@users.sourceforge.net>2007-10-14 16:35:10 +0000
commita266a85f7bb03702d4f625abd14cd0766c56f447 (patch)
tree2c4f9424920b9ab41312c6f17150b553eb1ba9aa
parent9b33f07e10ae7d8e7974a1f9bd095273a1eb3996 (diff)
downloadzsh-a266a85f7bb03702d4f625abd14cd0766c56f447.tar.gz
zsh-a266a85f7bb03702d4f625abd14cd0766c56f447.tar.xz
zsh-a266a85f7bb03702d4f625abd14cd0766c56f447.zip
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