about summary refs log tree commit diff
path: root/Functions
diff options
context:
space:
mode:
authorBart Schaefer <barts@users.sourceforge.net>2004-03-21 01:55:34 +0000
committerBart Schaefer <barts@users.sourceforge.net>2004-03-21 01:55:34 +0000
commit062a095cfee014706c5d42da548c0ae3ddc7f50b (patch)
tree086e7ad443712c1607aa8ebde5d2ad484293633a /Functions
parent2313f83218274d9e10618a7bc712baa6eb159192 (diff)
downloadzsh-062a095cfee014706c5d42da548c0ae3ddc7f50b.tar.gz
zsh-062a095cfee014706c5d42da548c0ae3ddc7f50b.tar.xz
zsh-062a095cfee014706c5d42da548c0ae3ddc7f50b.zip
Add "unset" to the localoptions in several functions (users/7212).
Diffstat (limited to 'Functions')
-rw-r--r--Functions/Prompts/prompt_bart_setup6
1 files changed, 3 insertions, 3 deletions
diff --git a/Functions/Prompts/prompt_bart_setup b/Functions/Prompts/prompt_bart_setup
index 642fe9145..a52e072ab 100644
--- a/Functions/Prompts/prompt_bart_setup
+++ b/Functions/Prompts/prompt_bart_setup
@@ -58,7 +58,7 @@ prompt_bart_help () {
 }
 
 prompt_bart_precmd () {
-    setopt localoptions noxtrace noksharrays
+    setopt localoptions noxtrace noksharrays unset
     local zero='%([BSUbsu]|{*%})'
 
     # Using psvar here protects against unwanted promptsubst expansions.
@@ -111,7 +111,7 @@ prompt_bart_ps1 () {
 }
 
 prompt_bart_winch () {
-    setopt localoptions noksharrays
+    setopt localoptions noksharrays unset
 
     # Delete ourself from TRAPWINCH if not using our precmd insert.
     [[ $functions[precmd] = *prompt_bart_precmd* ]] && prompt_bart_ps1 ||
@@ -119,7 +119,7 @@ prompt_bart_winch () {
 }
 
 prompt_bart_setup () {
-    setopt localoptions noksharrays
+    setopt localoptions noksharrays unset
 
     # A few extra niceties ...
     repeat 1 case "$1:l" in