about summary refs log tree commit diff
path: root/Functions/Prompts
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2009-05-12 11:11:14 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2009-05-12 11:11:14 +0000
commitd1abd3e7cf53fc271e9d7c5de4f84ad3e6be42c7 (patch)
treedeeb332533ff117c6b66dce7cc2a6971eca8a0a9 /Functions/Prompts
parentc18b6c2c99b14301ac005e27a9472feed9a46eec (diff)
downloadzsh-d1abd3e7cf53fc271e9d7c5de4f84ad3e6be42c7.tar.gz
zsh-d1abd3e7cf53fc271e9d7c5de4f84ad3e6be42c7.tar.xz
zsh-d1abd3e7cf53fc271e9d7c5de4f84ad3e6be42c7.zip
26957: Fix some memory problems with read builtin
unposted: fix a WARN_CREATE_GLOBAL warning
Diffstat (limited to 'Functions/Prompts')
-rw-r--r--Functions/Prompts/prompt_bart_setup1
1 files changed, 1 insertions, 0 deletions
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 ]]