Hi, how can i make it so that opening a new tab in gnome-terminal does NOT open it in my $HOME directory but rather in the one i’m already working in? Apparently this should be the default behaviour but that does not seem to be the case on my machine, even with ‘preserve working directory’ set to ‘always’ in gnome-terminal settings. I’m on Fedora 37, Gnome Shell 43.3, Gnome Terminal 3.46.8.
Here’s my .bashrc and .bash_profile.
I can’t think of anything else that could be overriding the default behaviour?
You understood correctly. If i’m in ~/.ssh and press ctrl+t to open a new tab, the directory of the new tab is ~. Ideally I would want to be able to open a new tab [ctrl+t] in the same directory and a new window [ctrl-n] in my home dir (this last case is the current behaviour for both cases).
Neither ‘shell only’ or ‘always’ seem to change the behaviour.
Hi, sorry for the late reply.
I tried creating a new user through Gnome’s settings and the problem seems to persist to the new user also. The directory jumps to $HOME when opening a new tab.
Is there any setting that could be working at a ‘system level’ and not for single users (pardon if this is not the right terminology)?