Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: [SOLVED] Environment variable is not being exported (Read 1247 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[SOLVED] Environment variable is not being exported

For some reason after recent upgrade $PS1 is not being exported from /etc/profile when i'm in the X11 graphical environment.
However, it is exported in the tty and can be exported locally without any issue.
I'm using dash both as my login and interactive shell.

Re: Environment variable is not being exported

Reply #1
Which terminal emulator?

Re: Environment variable is not being exported

Reply #2
st

Re: Environment variable is not being exported

Reply #3
Does this happen with, say, xfce4-terminal?

Re: Environment variable is not being exported

Reply #4
yes, and i also tried recompiling st against the latest source

Re: Environment variable is not being exported

Reply #5
Only thing I can think of is a downgraded dash.

Re: Environment variable is not being exported

Reply #6
I don't think downgrading dash will achieve anything since the last update for it was two years ago.
Tried downgrading libedit to no result.
Here is the list of all the packages that were upgraded right before the breakage:
Spoiler (click to show/hide)

EDIT:
Tried downgrading dash, libx11, dbus, xorg-xauth, xorg-xinit.
Also changed variable definition to a simple
Code: [Select]
export PS1=$USER
Still no result.

Re: Environment variable is not being exported

Reply #7
Bash upgrade re-linked sh and i forgot to add relevant pacman hook.