How to cd into a directory and stay there ?
I use a circuit design CAD tool such that I have a frequent need to cd into a directory for my circuit design. For example, if my circuit design is called ckt1, then I want to cd into
I like to make a shell script, let say: cdc
Where the content of the cdc is:
So at the Unix/Linux command line, when I type: cdc ckt2
It will get me to the directory within the script execution, the problem is that I want
to remain at that directory, at the parent level when I type in the cdc ckt2 command.
Please help me with modifying the script, or some other different way of accomplishing the objective.