waveterm/pkg/util
Evan Simkowitz 9ff430bbd7
Better XDG directory variable fix for Snap (#1701)
This fix will overwrite the XDG variables when creating a shell session
and only if the installation is Snap (as determined by the presence of
the `$SNAP` environment variable). It also will parse the user's PAM
files, if present, to ensure that if the XDG variables were set there,
they're restored. Otherwise, if the variables are set in an RC or
profile file, we'll already pick it up when the shell starts.

closes #1696

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-01-10 11:06:15 -08:00
..
colprint Happy new year! (#1684) 2025-01-04 20:56:57 -08:00
daystr Happy new year! (#1684) 2025-01-04 20:56:57 -08:00
dbutil Happy new year! (#1684) 2025-01-04 20:56:57 -08:00
ds Happy new year! (#1684) 2025-01-04 20:56:57 -08:00
envutil Happy new year! (#1684) 2025-01-04 20:56:57 -08:00
logview Happy new year! (#1684) 2025-01-04 20:56:57 -08:00
migrateutil Happy new year! (#1684) 2025-01-04 20:56:57 -08:00
packetparser Happy new year! (#1684) 2025-01-04 20:56:57 -08:00
pamparse Better XDG directory variable fix for Snap (#1701) 2025-01-10 11:06:15 -08:00
shellutil Happy new year! (#1684) 2025-01-04 20:56:57 -08:00
syncbuf Happy new year! (#1684) 2025-01-04 20:56:57 -08:00
utilfn Happy new year! (#1684) 2025-01-04 20:56:57 -08:00