mirror of
https://github.com/wez/wezterm.git
synced 2024-12-29 16:42:13 +03:00
de8c2f17d8
The idea is that these will help folks convey the nature of problems that they might hit in the future.
10 lines
291 B
Bash
Executable File
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"
|