I have a bash script which is calling three different commands and that execution must happen in one shell. I got it by adding && after each command like as follows-
CMD1 && CMD2 && CMD3
Now what i need is- lets say i open a terminal on my MAC machine, all commands should run in open shell not in new sub-shell.
As a side note- CMD1 is actually a source command to my project directory which is a bash script which sets all the environment variable for running server.