debcrafters-packages team mailing list archive
-
debcrafters-packages team
-
Mailing list archive
-
Message #02000
[Bug 2083705] Re: New tabs don't open in current working directory
I don't mind having this mechanism work, however it should be an opt-in,
not an opt-out. The system-provided bashrc scripts should be minimal,
not including any bells and whistles. Even bash-completion alone changes
the shell in such an intrusive way, that it's not suitable for every
user. Opt-in, yes, but not as the default. This affects every user on
the system where you deploy that change.
I'll check in this patch with git-ubuntu, once I figure out permissions.
Thanks for the reminder. Having such communications on IRC or Matrix is
not a good way for communication.
It is also news to me that Ubuntu introduced "ownership of packages".
We have people with upload rights to main, and to universe, and some
per-package uploaders.
So proper solutions would be to
- have the same option in ptyxis as in gnome-terminal
- have a debconf based possibility to enable each hook, defaulting
to no if no choice is made (which then requires user interaction
to explicitly enable these hooks).
So yes, there are alternative solutions, but you choose the most user
unfriendly from my perspective.
--
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:
Triaged
Status in bash package in Debian:
New
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