mirror of
https://github.com/tmux-plugins/tmux-resurrect.git
synced 2024-11-24 05:48:48 +00:00
19 lines
329 B
Plaintext
Executable File
19 lines
329 B
Plaintext
Executable File
#!/usr/bin/env expect
|
|
|
|
source "./tests/helpers/expect_helpers.exp"
|
|
|
|
expect_setup
|
|
|
|
spawn tmux
|
|
# delay with sleep to compensate for tmux starting time
|
|
sleep 1
|
|
|
|
start_resurrect_restore
|
|
|
|
# delete all existing resurrect save files
|
|
run_shell_command "rm ~/.tmux/resurrect/*"
|
|
|
|
start_resurrect_save
|
|
|
|
run_shell_command "tmux kill-server"
|