mklement0 / ttab

macOS and Linux CLI for opening a new terminal tab/window, optionally with a command to execute and/or display settings
285 stars 15 forks source link

ttab consistently opens new windows instead of tabs #2

Closed atomless closed 8 years ago

atomless commented 8 years ago

When stringing a chain of commands together ttab consistently opens new windows instead of tabs, any idea why this would happen?

For example:

ttb -t 'title1' <some cmd> && ttab -t 'title2' <some cmd> && sleep 5 && ttab -t 'title3' <some cmd>

The title3 tab will be opened in a new terminal window rather than a tab.

mklement0 commented 8 years ago

Curious. On my OS X 10.11.4 machine, when I run

 ttab -t 'title1' date  && ttab -t 'title2' date  && sleep 5 && ttab -t 'title3' date

all tabs open in the current window.

What OS X version are you on?

mklement0 commented 8 years ago

I'll close this for now, but if you want me to look at a specific command that exhibits the symptom, I'm happy to revisit.