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

Accept different tmux installation path in systemd unit file #100

Closed primeapple closed 2 years ago

primeapple commented 2 years ago

When creating the systemd unit file on linux, we don't check where the tmux installation actually is, we just assume it is on /usr/bin/tmux. I'm using asdf to install tmux, so the executable is somewhere else. Because I don't like to symlink my executables to /usr/bin/, I created this fix to check the actual path of the executable when creating the systemd file.

Tested and works. :)

bruno- commented 2 years ago

Thanks