- 29 Feb, 2020 1 commit
-
-
v9v authored
The issue and fix are described in https://github.com/tmux-plugins/tmux-continuum/issues/16 . Without this change, tmux-continuum works only for one tmux server on the machine. In a multi-user environment (e.g. a shared server), when multiple users are running their own tmux servers, this means that tmux-continuum works only for one of the users. This change enables tmux-continuum for one tmux server per user instead of one tmux server per machine.
-
- 13 Jul, 2019 3 commits
-
-
Bruno Sutic authored
-
Bruno Sutic authored
Fix race condition in autosave
-
v9v authored
* moved the locking to a separate function "acquire_lock" * changed $[ ] to $(( )), for consistency with the rest of the file * taking the lock only after checking all other preconditions (they are non-mutating and thread-safe)
-
- 09 Jul, 2019 1 commit
-
-
v9v authored
Two consecutive calls to "date +%s" can return different values. Call "date" only once and reuse the result.
-
- 08 Jul, 2019 1 commit
-
-
v9v authored
flock is not supported on MacOS. `mkdir` locks have a drawback: they are not cleaned up automatically. If the lock owner crashed before cleaning up the lock, the directory will stay in the filesystem and the lock will be never acquired by someone else. To avoid that, we create temporary locks (the lockdir name changes every 100 seconds). We grab two lock (N and N+1) to avoid the case where process A grabs lock N and process B grabs lock N+1 and both enter the critical section.
-
- 05 Jul, 2019 1 commit
-
-
v9v authored
If flock is not installed, fall back to the thread-unsafe version.
-
- 04 Jul, 2019 1 commit
-
-
v9v authored
Fixes the case where multiple tmux sessions call auto-save at the same time, which occasionally results in multiple instances of save_all() running in parallel and causing issues like #3 and tmux-plugins/tmux-resurrect#294. The sequence in main() is: 1. Check enough_time_since_last_run_passed 2. Save 3. Update last_save_timestamp. The race here is: * process A finishes step 1 and is busy with step 2. The timestamp is not updated yet. * process B comes to step 1, sees the old timestamp and proceeds to step 2, too.
-
- 19 Apr, 2019 1 commit
-
-
Bruno Sutic authored
-
- 04 Mar, 2019 1 commit
-
-
Bruno Sutic authored
Fix automatic restore.
-
- 02 Mar, 2019 1 commit
-
-
Diego Ximenes Mendes authored
-
- 07 Feb, 2019 1 commit
-
-
Bruno Sutic authored
Credit to @badjware for the solution Fixes $45, #52, #54
-
- 19 Oct, 2017 1 commit
-
-
Bruno Sutic authored
Make user systemd dir if it doesn't exist
-
- 14 Oct, 2017 1 commit
-
-
neynt authored
-
- 29 Sep, 2017 2 commits
-
-
Bruno Sutic authored
Use correct name for tmux configuration file
-
Jakob Gerhard Martinussen authored
Parts of the readme referred to `tmux.conf` instead of `.tmux.conf`. This has now been corrected.
-
- 23 Jan, 2016 2 commits
-
-
Bruno Sutic authored
Replaced hardcoded home directory in Systemd ExecStop with HOME variable
-
Jim Rosser authored
-
- 09 Jan, 2016 12 commits
-
-
Pete Peteches McCabe authored
-
Pete Peteches McCabe authored
-
Pete Peteches McCabe authored
-
Pete Peteches McCabe authored
-
Pete Peteches McCabe authored
- need the -d to start the server correctly as it does not have an emulator to attach the session to.
-
Pete Peteches McCabe authored
- Also added RestartSec option to fix minor issues with restarts trying to start the server before it had fully shutdown.
-
Pete Peteches McCabe authored
-
Pete Peteches McCabe authored
-
Pete Peteches McCabe authored
-
Pete Peteches McCabe authored
- this caused issues with the restore missing some processes and putting others in the wrong place. - I think this may need some work with the tmux-resurrect plugin to fix if auto restore is to be used.
-
Pete Peteches McCabe authored
-
Pete Peteches McCabe authored
-
- 26 Dec, 2015 1 commit
-
-
Bruno Sutic authored
#{continuum_status} status line interpolation
-
- 29 Nov, 2015 1 commit
-
-
Bruno Sutic authored
-
- 08 Oct, 2015 4 commits
-
-
Bruno Sutic authored
-
Bruno Sutic authored
-
Bruno Sutic authored
-
Bruno Sutic authored
-
- 10 Aug, 2015 1 commit
-
-
Bruno Sutic authored
-
- 14 Mar, 2015 2 commits
-
-
Bruno Sutic authored
-
Bruno Sutic authored
Do not count `tmux source-file .tmux.conf` as a tmux process when checking if other tmux server is running. Previously, this caused interpolation command not to be inserted into `status-right` because `tmux source-file` was falsely detected as another tmux server.
-
- 20 Feb, 2015 1 commit
-
-
Bruno Sutic authored
-