I'm making a shortcut icon on my Dock which opens a terminal window with some preconfigured environment variables. I made a script and dragged it into my Dock. It runs well, however it exits immediately as it complete. I want to start console work with preconfigured variables. How can I make it does not exit after script execution complete?
You can put
as the last line of the script. That will keep it up until you hit enter.
Re: your edit
If you invoke