Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Bug in beta21



Bruce wrote:
>Here's the offending fragment:
>if [[ "$TERM" = xterm || "$TERM" = aixterm ]]
>then
>        typeset -l titlebartime
>	set-titlebar() {
>		titlebartime=$(print -Pn "%D{%r}")
>		print -Pn "\E]0;%~@%m   $titlebartime, %D{%A %d %B %Y}\C-g"
>        }
>	trap set-titlebar ALRM
>	TMOUT=5
>fi

You can abbreviate this to:

print -Pn "\E]0;%m:%~   %D{%A %d %B %Y}\C-g"

And it gives some other errors when expanding a dir:

~percy/BUG: permanent allocation in parsestr
BUG: permanent allocation in prefork
terb/

I was expanding on ~pe

--
       +--------------------+
 \     | Erwin J.  van Eijk | Standard Disclaimer applies
  \ /\ | eijk@xxxxxxxxxxxxx |
  ( )  | eijk@xxxxxxxxxxxxx | A single death is a tragedy,
_( * )_+--------------------+ A million deaths is a statistic - Josef Stalin




Messages sorted by: Reverse Date, Date, Thread, Author