Don't start continuous saving right after tmux is started

This commit is contained in:
Bruno Sutic
2015-02-12 01:31:56 +01:00
parent 5ca7656df0
commit 2e40ecf4d0
4 changed files with 15 additions and 9 deletions

7
scripts/shared.sh Normal file
View File

@ -0,0 +1,7 @@
current_timestamp() {
echo "$(date +%s)"
}
set_last_save_timestamp() {
set_tmux_option "$last_auto_save_option" "$(current_timestamp)"
}