I am launching the gnome-terminal and I am working in a specific path, for example: /home/user/programs/c
.
Now I am opening another tab. When I am opening the new tab it is also in the same path, i.e. the new tab's working directory will be /home/user/programs/c
.
But what I want is when I am opening a new tab its working directory should be /home/user
.
How can I achieve this?
Any help much appreciated.
Thanks in Advance!
Best Answer
Same as here
The solution is to check "Run command as a login shell" in the preferences. It worked for me.
Check the FAQ