I am using terminator with zsh as my shell:
terminator --command="/bin/zsh" Additionally, I need another way to start terminator with zsh and make sure that the window does not close on ctrl+d.
I know that I can use set -o ignoreeof inside .zshrc to prevent ctrl+d exiting the terminal. But that will affect all zsh shells.
I don't want to change this globally. One way that I think would be possible, is to have two separate configuration files. But than I would have to maintain two files instead of one. Is there a simpler way to start zsh with set -o ignoreeof enabled? perhaps specifying this as an option on the commandline?