From 951cc5affa9beaffc44aa34a01eabc4ddfa819bd Mon Sep 17 00:00:00 2001 From: Max Howell Date: Fri, 6 Sep 2024 14:54:38 -0400 Subject: [PATCH] =?UTF-8?q?Don=E2=80=99t=20break=20$XDG=5FDATA=5FDIRS?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes #70 --- src/hooks/useShellEnv.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/hooks/useShellEnv.ts b/src/hooks/useShellEnv.ts index 0d93e86..ab885e5 100644 --- a/src/hooks/useShellEnv.ts +++ b/src/hooks/useShellEnv.ts @@ -106,6 +106,8 @@ async function map({installations}: Options): Promise> // don’t break `man` lol rv["MANPATH"]?.push("/usr/share/man") + // https://github.com/pkgxdev/libpkgx/issues/70 + rv['XDG_DATA_DIRS']?.push('/usr/local/share:/usr/share') return rv }