debcrafters-packages team mailing list archive
-
debcrafters-packages team
-
Mailing list archive
-
Message #01946
[Bug 2083705] Re: New tabs don't open in current working directory
and your comment is very misleading ...
+# Source profile.d even though "it's meant to be for login shells
+# only", because we need a hook integration for
+# e.g. command-not-found, bash-completion, gnome-terminal/vte,
+# screen/byobu etc. And e.g. on fedora systems, bashrc does source
+# profile.d. If something does break, things in /etc/profile.d will
+# need to differentiate interractive shells by inspecting "$PS1" (or
+# similar as /etc/profile.d/vte.sh already does). If there is bad
+# interraction between snippets in profile.d, that's already a bug,
+# against affected packages to sort out, since login shells are
+# already affected.
+#
+# Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=675008
... you added that just after the snippets for command-not-found and
bash-completion.
I'm going to undo that, leaving that snippet there commented out.
** Bug watch added: Debian Bug tracker #675008
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=675008
--
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to bash in Ubuntu.
https://bugs.launchpad.net/bugs/2083705
Title:
New tabs don't open in current working directory
Status in bash package in Ubuntu:
Fix Committed
Status in ptyxis package in Debian:
Confirmed
Bug description:
In GNOME Terminal, opening a new tab opens the new tab using the same
working directory as the current tab.
This only works because we added a distro patch to GNOME Terminal in
2013. VTE prefers to use /etc/bashrc.d/ but Debian and Ubuntu's bash
don't support that feature currently.
Workaround
==========
You can add this line to your ~/.bashrc
source /etc/profile.d/vte-2.91.sh
This will enable this feature to work in all VTE apps: Ptyxis, GNOME
Console, etc.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash/+bug/2083705/+subscriptions