5 # a convenient way to create an environment for collaborative testing
7 # Copyright © 1994–2008 martin f. krafft <madduck@madduck.net>
8 # Released under the terms of the Artistic Licence 2.0
10 # Source repository: git://git.madduck.net/etc/zsh.git
13 local topic filename ret
15 filename="${TMPDIR:-/tmp}/script.${topic:-$LOGNAME}.$$.$(date +%Y%m%d.%H%M)"
16 echo "I: writing typescript to $filename ..." >&2
18 %# " PS2= RPS1= script -c "zsh -f" -f -q "$filename"
20 echo "I: typescript is in $filename ."