Instead of exec-ing the tmux process, run it normally and exit afterwards. Otherwise the zlogout is not read as mentioned a couple of lines above and in `zsh(1)`: > However, if the shell terminates due to exec'ing another process, the > logout files are not read.
3.8 KiB
3.8 KiB