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.
Which terminal emulator?
st
Does this happen with, say, xfce4-terminal?
yes, and i also tried recompiling st against the latest source
Only thing I can think of is a downgraded dash.
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:
abseil-cpp (20240722.1-1 -> 20250127.0-2)
alsa-card-profiles (1:1.2.7-1 -> 1:1.4.0-2)
bash (5.2.037-1 -> 5.2.037-2)
libcap (2.71-1 -> 2.75-1)
dbus (1.16.2-1 -> 1.16.2-1.1)
glib2 (2.82.5-1 -> 2.84.0-1)
libpipewire (1:1.2.7-1 -> 1:1.4.0-2)
pipewire (1:1.2.7-1 -> 1:1.4.0-2)
libebur128 (1.2.6-2) (installed)
libfreeaptx (0.1.1-2 -> 0.2.2-1)
pipewire-audio (1:1.2.7-1 -> 1:1.4.0-2)
pipewire-jack (1:1.2.7-1 -> 1:1.4.0-2)
libx11 (1.8.11-1 -> 1.8.12-1)
svt-av1 (2.3.0-1 -> 3.0.1-1)
spirv-tools (1:1.4.304.1-2 -> 1:1.4.309.0-1)
mesa (1:24.3.4-1 -> 1:25.0.1-2)
shaderc (2024.4-1 -> 2025.1-1)
pango (1:1.56.1-1 -> 1:1.56.2-1)
ffmpeg (2:7.1-6 -> 2:7.1-7)
libsm (1.2.5-1 -> 1.2.6-1)
gstreamer (1.24.12-3 -> 1.24.12-4)
gst-plugins-base-libs (1.24.12-3 -> 1.24.12-4)
libxkbcommon (1.8.0-1 -> 1.8.1-1)
libxkbcommon-x11 (1.8.0-1 -> 1.8.1-1)
gst-plugins-bad-libs (1.24.12-3 -> 1.24.12-4)
gumbo-parser (0.12.1-2 -> 0.13.0-1)
imagemagick (7.1.1.44-1 -> 7.1.1.45-1)
libarchive (3.7.7-1 -> 3.7.7-2)
libavif (1.2.0-1 -> 1.2.0-2)
qpdf (11.10.1-1 -> 12.0.0-1)
libcupsfilters (2.1.1-1 -> 2.1.1-2)
libheif (1.19.7-1 -> 1.19.7-2)
libmupdf (1.25.4-1 -> 1.25.4-2)
libsynctex (2024.2-6 -> 2025.0-1)
libxslt (1.1.42-2 -> 1.1.43-1)
linux (6.13.5.artix1-1 -> 6.13.6.artix1-1)
linux-firmware-whence (20250210.5bc5868b-1 -> 20250311.b69d4b74-2)
linux-firmware (20250210.5bc5868b-1 -> 20250311.b69d4b74-2)
man-pages (6.12-1 -> 6.13-1)
mpv (1:0.39.0-4 -> 1:0.39.0-5)
protobuf (29.2-1 -> 29.3-1)
mumble (1.5.735-3 -> 1.5.735-4)
perl-error (0.17029-7 -> 0.17030-1)
pipewire-alsa (1:1.2.7-1 -> 1:1.4.0-2)
pipewire-pulse (1:1.2.7-1 -> 1:1.4.0-2)
protobuf-c (1.5.0-10 -> 1.5.0-11)
python-findpython (0.6.2-2 -> 0.6.3-1)
python-jeepney (0.8.0-4 -> 0.9.0-1)
python-rapidfuzz (3.12.1-1 -> 3.12.2-1)
xorg-xauth (1.1.3-1 -> 1.1.4-1)
xorg-xinit (1.4.3-1 -> 1.4.4-1)
ghostscript (10.04.0-1 -> 10.05.0-1)
EDIT:
Tried downgrading dash, libx11, dbus, xorg-xauth, xorg-xinit.
Also changed variable definition to a simple
export PS1=$USER
Still no result.
Bash upgrade re-linked sh and i forgot to add relevant pacman hook.