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.31k stars 149 forks source link

Avoid overriding systemd unit/settings when not configured to do so #122

Open carlpett opened 1 year ago

carlpett commented 1 year ago

Fixes #121, #73.

Currently, if the user has their own tmux.service file and does not enable continuum-boot, tmux-continuum will disable it on startup. This PR adds a check to try to ensure it only makes changes if it matches the user intent to have it do so.

bruno- commented 1 year ago

Pinging @nuclearglow because it's a systemd-related change.

promisedlandt commented 1 year ago

I would be very happy if this could be merged, since I have the exact issue this solves :smiley:

carlpett commented 8 months ago

@bruno- Do you expect to merge this? Doing some spring cleaning of my open PRs :broom: