I've just noticed that Debian carries a patch for reading the working directory from /proc if OSC 7 was not in use. This patch doesn't have the "let's look for $PWD in the environment" logic that was supposed to fix this bug.
See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=712628 ** Bug watch added: Debian Bug tracker #712628 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=712628 -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. https://bugs.launchpad.net/bugs/263637 Title: Gnome-terminal follows symbolic links instead of staying in the current directory when opening a new tab To manage notifications about this bug go to: https://bugs.launchpad.net/gnome-terminal/+bug/263637/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs