Solvedalacritty Tmux austostart?

Which operating system does the issue occur on?
MacOS Catalina

I understood that if I set default shell to say a zsh and pass argument like "-c tmux attach || tmux" that Alacritty will attach tmux session if it exists and if not, start a new one but having that argument in .yml config just makes the terminal not starting at all.

Did I misunderstand how it works and what's the best way to achieve this behavior?
iTerm allows setting similar command and works as expected but I'd like to continue using Alacritty as it looks and works better for me.

Thanks in advance!

17 Answers

✔️Accepted Answer

It should be like this:

  program: /bin/bash
    - -l
    - -c
    - "tmux attach || tmux"

More Issues: