I have installed the following on Ubuntu 20.10
- zsh
- Oh my zsh
- terminator
When I open a new tab or split window in the terminator, I find that the current working directory is copied from the previous session. I want to instead be in the home directory whenever I open a new terminal.
For example
- I have an open terminal in directory
/home/user/folder1
- I open a new terminal
- New terminal is in
/home/user/folder1
How can I prevent this from happening?
Currently I have added this line in .zshrc
cd $HOME
But I do not really like this solution as it prevents me from using open in terminal
from context menu from nautilus.
Please help me figure out how I can always open a new terminal to go to home dir.