1 autoload colors
; colors
;
5 print
"$fg_bold[white]$1$reset_color $2"
10 print
"$fg_bold[white]$1$reset_color\n$2\n"
16 local rand
=$(od -An -t u1 -N1 /dev/urandom)
17 local idx
=$((1 + (rand % $#)))
22 "the $(c fall spring) equinox"
23 "the $(c winter summer) $(c solstice olympics)"
24 "the $(c erliest latest) $(c sunrise sunset)"
25 "the daylight $(c saving savings) time"
26 "the leap $(c day year)"
28 "the $(c harvest super blood) moon"
36 "$(c gregorian mayan lunar iPhone) calendar"
37 "atomic clock in Colorado"
40 "happens $(c earlier later "at the wrong time") every year"
41 "drifts out of sync with the $(c ${drifters[@]})"
42 "might $(c "not happen" "happen twice") this year"
44 ions_and_ities
=(precession libration nutation libation eccentricity obliquity
)
51 "$(c "international date" "Mason-Dixon") line"
55 "time zone legislation in $(c Indiana Arizona Russia)"
56 "a decree by the Pope in the 1500s"
57 "$(c ${ions_and_ities[@]}) of the $(c ${iees_and_itees[@]})"
58 "magnetic field reversal"
59 "an arbitrary decision by $(c "Benjamin Franklin" "Isaac Newton" "FDR")"
63 "actually makes things worse"
64 "is stalled in congress"
65 "might be unconstitutional"
68 "it causes a predictable increase in car accidents"
69 "that's why we have leap seconds"
70 "scientists are really worried"
71 "it was even more extreme during the $(c "bronze age" "ice age" cretaceous 1990s)"
72 "there's a proposal to fix it, but it $(c ${excuse[@]})"
73 "it's getting worse and no one knows why"
76 "causes huge headaches for software developers"
77 "is taken advantage of by high-speed traders"
78 "triggered the 2003 Northeast Blackout"
79 "has to be corrected for by GPS satellites"
80 "is now recognized as a major cause of World War I"
83 which zsh_math_func_min
>/dev
/null
|| zmathfunc
84 echo -n "Did you know that $(c ${recurring_event[@]}) $(c ${unusual_manner[@]})" \
85 "because of $(c ${phenomenon[@]})? Apparently $(c ${statement[@]}). " \
86 "While it may seem like trivia, it $(c ${consequence[@]})." | fmt -w $((min(COLUMNS, 80)))