-
Notifications
You must be signed in to change notification settings - Fork 165
Open
Description
Autosave is not working and I've narrowed it down to this piece of code:
# Advanced edge case handling: start auto-saving only if this is the
# only tmux server. We don't want saved files from more environments to
# overwrite each other.
if ! another_tmux_server_running; then
# give user a chance to restore previously saved session
delay_saving_environment_on_first_plugin_load
add_resurrect_save_interpolation
fi
The problem is that I share my work environment with several co-workers. So, in total we may have > 3 tmux processes. This function grabs all of them:
all_tmux_processes() {
# ignores `tmux source-file .tmux.conf` command used to reload tmux.conf
ps -Ao "command pid" |
\grep "^tmux" |
\grep -v "^tmux source"
}
Long story short, it seems that add_resurrect_save_interpolation
is never called because continuum
thinks there are more than one TMUX servers running. Should it not consider only the running user's processes?
dylan-chong, hprem, jiucenglou, melink14, hrai and 1 more
Metadata
Metadata
Assignees
Labels
No labels