tmux-plugins / tmux-continuum

Continuous saving of tmux environment. Automatic restore when tmux is started. Automatic tmux start when computer is turned on.
MIT License
3.24k stars 149 forks source link

continuum doesn't appear to work after restart on MacOS Sierra 10.12.6 and iTerm 2 #39

Open bradical opened 6 years ago

bradical commented 6 years ago

So, bear with me as I'm not 100% sure I'm doing this right anyway but I have the following in my ~/.tmux.conf file:

# List of plugins
new-session
set-window-option -g mode-mouse on  
set -g history-limit 30000  

set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'

set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum'

set -g @continuum-restore 'on'
set -g @continuum-boot 'on'
set -g @continuum-boot-options 'iterm'
set -g @continuum-save-interval '5'
set -g status-right 'Continuum status: #{continuum_status}'
set -g @resurrect-capture-pane-contents 'on'

# Other examples:
# set -g @plugin 'github_username/plugin_name'
# set -g @plugin 'git@github.com/user/plugin'
# set -g @plugin 'git@bitbucket.com/user/plugin'

# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'

and after startup, I open iTerm2 (which is set to run tmux ls immediately on load) and I get:

[~/Dev] $ tmux ls
error connecting to /private/tmp/tmux-503/default (No such file or directory)

which makes me think:

Now, if I start tmux manuallly tmux, I see:

image

and if I do a <tmux_binding>, <ctrl> r it successfully restores some version of my tmux settings but that feels more like resurrect than continuum.

Should I be expecting different behavior on restart? I read over this wiki article and any other docu I could find so I apologize if I missed something.

Thanks!

bradical commented 6 years ago

Ah, not sure why I didn't see this on my initial search but could be same as #19 or possibly #20 or #30