1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-25 05:10:28 +02:00

26957: Fix some memory problems with read builtin

unposted: fix a WARN_CREATE_GLOBAL warning
This commit is contained in:
Peter Stephenson 2009-05-12 11:11:14 +00:00
parent c18b6c2c99
commit d1abd3e7cf
3 changed files with 22 additions and 9 deletions

View file

@ -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 ]]