Bug#755546: gnome-terminal: 3.12.3-1's new tabs/windows don't inherit working path from old one

santiago at debian.org santiago at debian.org
Wed Jul 23 08:53:31 UTC 2014


El 22/07/14 a las 10:50, Simon McVittie escribió:
> On 21/07/14 23:44, santiago at debian.org wrote:
> > After upgrading from 3.4.1.1-2 to 3.12.3-1, new terminal tabs or windows
> > open at $HOME instead of the working directory of the terminal where
> > they were opened from.
> 
> Works for me, using zsh: I can type Ctrl+Shift+N or Ctrl+Shift+T into a
> Terminal window to get a new window or tab in the same working
> directory. This feature is also meant to work with bash.
> 
> Is your shell bash, zsh or something else? Does it (perhaps indirectly)
> source /etc/profile.d/vte.sh during startup?
> 
>     S
> 

My default shell is zsh. Now it works with zsh and bash, after reading this:
https://wiki.gnome.org/action/show/Apps/Terminal/FAQ?action=show&redirect=Terminal%2FFAQ#How_can_I_make_new_terminals_start_in_the_working_directory_of_the_current_terminal.3F
However, the solution is inconsistent:

For bash, I checked the "Run command as a login shell" profile option.
For zsh, I had to manually source vte.sh from my zshrc.
Shouldn't "Run command as a login shell" work for both of them?

Regards,

Santiago

Other packages' version:

bash 4.3-7
zsh 5.0.5-4
libvte-2.90-9 1:0.36.3-1



More information about the pkg-gnome-maintainers mailing list