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

Re: zsh portable script



On Tue, 13 Jul 2010, Benjamin R. Haskell wrote:

on my bsd laptop i always have at least one mrxvt with ten shells open. it seems to make sense to just have root get the info once per minute and let the shells read it from a file, than have a bunch of shells all invoking sysctl and all figuring out about the battery.

Are those many shells all frequently generating prompts? precmd only runs once per prompt.
==================

my prompts are generated ~about~ twice per minute, per shell. that keeps the time and load averages up to date.

they're staggered randomly, so they don't all happen at once.


--
        ...atom

 ________________________
 http://atom.smasher.org/
 762A 3B98 A3C3 96C9 C6B7 582A B88D 52E4 D9F5 7808
 -------------------------------------------------

	"The only inherent sin in society lies in hurting others
	 unnecessarily. Hurting yourself in not sinful - just dumb."
		-- Robert Heinlein



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