1
1
mirror of https://github.com/wez/wezterm.git synced 2024-09-21 11:50:42 +03:00
wezterm/wt-record
Wez Furlong de8c2f17d8 Add some helper scripts for diagnostic purposes
The idea is that these will help folks convey the nature of problems
that they might hit in the future.
2018-02-25 08:01:32 -08:00

10 lines
291 B
Bash
Executable File

#!/bin/sh
# Runs wezterm using `script` to record a session with timing information
NOW=`date -u +%Y%m%d%H%M%S`
echo $NOW
./target/release/wezterm -- script -t$NOW.timing $NOW.typescript
tar -cz --remove-files -f $NOW.tgz $NOW.timing $NOW.typescript
echo "Transcript recorded in $NOW.tgz"