Improve asciinema-log stuff
This commit is contained in:
parent
3bb298526b
commit
c2f56a9d3f
3 changed files with 11 additions and 3 deletions
|
@ -19,7 +19,7 @@ then
|
|||
if [ "$ASCIINEMA_LOG" = "video" ]
|
||||
then
|
||||
export ASCIINEMA_LOG_FILE="$ASCIINEMA_LOG_DIR/asciinema-$_file_name_date.cast"
|
||||
asciinema rec --quiet --idle-time-limit=3 "$ASCIINEMA_LOG_FILE"
|
||||
asciinema rec --quiet --idle-time-limit=3 -t "Terminal log on $_file_name_date" "$ASCIINEMA_LOG_FILE"
|
||||
exit 0 # Parent script should exit
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue