Skip to content

Commit 572154c

Browse files
committed
Don’t break $XDG_DATA_DIRS
Fixes #70
1 parent 4097bae commit 572154c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/hooks/useShellEnv.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,8 @@ async function map({installations}: Options): Promise<Record<string, string[]>>
106106

107107
// don’t break `man` lol
108108
rv["MANPATH"]?.push("/usr/share/man")
109+
// https://github.com/pkgxdev/libpkgx/issues/70
110+
rv['XDG_DATA_DIRS']?.push('/usr/local/share:/usr/share')
109111

110112
return rv
111113
}

0 commit comments

Comments
 (0)