From d1abd3e7cf53fc271e9d7c5de4f84ad3e6be42c7 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Tue, 12 May 2009 11:11:14 +0000 Subject: 26957: Fix some memory problems with read builtin unposted: fix a WARN_CREATE_GLOBAL warning --- Functions/Prompts/prompt_bart_setup | 1 + 1 file changed, 1 insertion(+) (limited to 'Functions/Prompts') diff --git a/Functions/Prompts/prompt_bart_setup b/Functions/Prompts/prompt_bart_setup index 55dd292e8..1cc7b6f08 100644 --- a/Functions/Prompts/prompt_bart_setup +++ b/Functions/Prompts/prompt_bart_setup @@ -78,6 +78,7 @@ prompt_bart_precmd () { psvar[8]='' # No padding until we compute it psvar[9]=() + typeset -g PSCOL # Reset the truncation widths for upcoming computations ((PSCOL == 1)) || { PSCOL=1 ; prompt_bart_ps1 } if [[ -o promptcr ]] -- cgit 1.4.1