Resurrect restore test and updates

This commit is contained in:
Bruno Sutic
2015-02-22 21:53:33 +01:00
parent 66916085d9
commit 9cabda7c71
6 changed files with 92 additions and 11 deletions

View File

@ -6,7 +6,13 @@ install_tmux_resurrect_helper() {
}
# we want "fixed" dimensions no matter the size of real display
set_screen_dimensions() {
set_screen_dimensions_helper() {
stty cols 200
stty rows 50
}
last_save_file_differs_helper() {
local original_file="$1"
diff "$original_file" "${HOME}/.tmux/resurrect/last"
[ $? -ne 0 ]
}