mirror of
https://github.com/wez/wezterm.git
synced 2024-12-26 23:04:49 +03:00
10 lines
291 B
Plaintext
10 lines
291 B
Plaintext
|
#!/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"
|