We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90f4a00 commit 4e22796Copy full SHA for 4e22796
CHANGELOG.md
@@ -1,6 +1,7 @@
1
# Changelog
2
3
### master
4
+- bugfix: "auto restore" feature stopped working
5
6
### v3.1.0, 2015-03-14
7
- properly quote scripts
continuum.tmux
@@ -43,15 +43,8 @@ add_resurrect_save_interpolation() {
43
fi
44
}
45
46
-number_of_sessions() {
47
- tmux list-sessions |
48
- wc -l |
49
- sed "s/ //g"
50
-}
51
-
52
-# when tmux server is first started, number of sessions is 0
53
just_started_tmux_server() {
54
- [ "$(number_of_sessions)" -eq 0 ]
+ [ "$(tmux display-message -p -F '#{start_time}')" -gt "$(($(date +%s)-10))" ]
55
56
57
start_auto_restore_in_background() {
0 commit comments