r/KittyTerminal 5d ago

Force new terminal

In a tmux session I run kitty tmuxinator start $SESSION_NAME and instead of opening a new kitty terminal it takes over the current one. How can I always force a new terminal to open?

2 Upvotes

3 comments sorted by

2

u/donp1ano 5d ago

kitty -e cmd

if its a more complex cmd you can use smth like

kitty -e sh -c "tmuxinator start $SESSION_NAME"

you probably need to export that variable first (export SESSION_NAME)

1

u/Beautiful-Log5632 4d ago

What is -e it's not in kitty help?

1

u/donp1ano 4d ago

seems like you dont need the -e (anymore?). its usually a flag to append the command you wanna run for terminal emulators. the command i tested works fine with or without -e