FS#39684 - [vte3] [bash] [zsh] need an equivalent to profile.d for non-login shells
Attached to Project:
Arch Linux
Opened by Daniel Micay (thestinger) - Sunday, 30 March 2014, 01:58 GMT
Last edited by Toolybird (Toolybird) - Sunday, 11 June 2023, 07:50 GMT
Opened by Daniel Micay (thestinger) - Sunday, 30 March 2014, 01:58 GMT
Last edited by Toolybird (Toolybird) - Sunday, 11 June 2023, 07:50 GMT
|
Details
On Fedora, non-login shells also source the files in
/etc/profile.d so vte3 is dumping the vte3.sh file. This is
not something upstream can fix if we aren't providing them
an alternative location, or moving it there ourselves. The
global bash and zsh configuration files for non-interactive
shells should be taught to read files from a directory, and
vte3.sh should be moved there.
At the moment, opening a new tab/terminal is broken without user intervention despite upstream intending for it to work out of the box. https://bugzilla.gnome.org/show_bug.cgi?id=709358 |
This task depends upon
The problem with this is that later, the next file to get executed is /etc/zsh/zprofile, which has been set to source /etc/profile, which resets PATHs. With this behaviour, it is imposible to set a path for all the shells that might get executed because the ones that are login shells will not have the proper path configuration.
I would propose at least removing the source of /etc/profile, or copying it to the first stage of the configuration at /etc/zshenv, as the user file gets executed after it's /etc double, and not all the /etc and then the user files.
Since vte3-0.54 appeared in testing lxterminal shuts down when a tab is closed by hitting the x on the tab. The problem is cured by reinstalling 0.52 from extra.