From 062a095cfee014706c5d42da548c0ae3ddc7f50b Mon Sep 17 00:00:00 2001 From: Bart Schaefer Date: Sun, 21 Mar 2004 01:55:34 +0000 Subject: Add "unset" to the localoptions in several functions (users/7212). --- Functions/Prompts/prompt_bart_setup | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Functions') 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 -- cgit 1.4.1