Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#35024 - [gnome-terminal] Working directory problem with vte standard
Attached to Project:
Arch Linux
Opened by Timothy (timthelion) - Monday, 29 April 2013, 10:23 GMT
Last edited by Jan Alexander Steffens (heftig) - Monday, 01 July 2013, 18:21 GMT
Opened by Timothy (timthelion) - Monday, 29 April 2013, 10:23 GMT
Last edited by Jan Alexander Steffens (heftig) - Monday, 01 July 2013, 18:21 GMT
|
This task depends upon
So the shells are supposed to execute
source /etc/profile.d/vte.sh
export PS1='\[$(__vte_ps1)\]'$PS1
but I really don't know how to accomplish this in a clean way.
I don't know if Fedora's way of sourcing /etc/profile.d/*.sh in bashrc is the right thing.
Do you bash wizards understand what this is all about? Because to me, those lines just look like random symbols(and I'm a Haskell programmer!). I don't know why my choice of terminal emulator should affect the proper functioning of my shell at all since as I showed in my bug report bash IS inheriting environment correctly :(
@Timothy: This seems to be a problem in every distro except Fedora.
https://bugzilla.gnome.org/show_bug.cgi?id=675987
It is suggested: "/etc/profile.d/*.sh are for login shells. It doesn't make sense to run them on
every shell, when their actions persist on the children.
The typical case is to set environment variables. vte.sh is the outlier here by
doing things it isn't designed for.
It makes more sense to install vte.sh inside /etc/bash_completion.d/ It's not a
completion but, just like them, it's intended for interactive shells.
Dmitry Shachnev 2013-05-02 05:33:51 UTC
+1 for moving it to /etc/bash_completion.d, that will work on Debian/Ubuntu."