Skip to content

Commit

Permalink
Don’t break $XDG_DATA_DIRS
Browse files Browse the repository at this point in the history
Fixes #70
  • Loading branch information
mxcl committed Sep 6, 2024
1 parent 4097bae commit 572154c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/hooks/useShellEnv.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@ async function map({installations}: Options): Promise<Record<string, string[]>>

// 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
}
Expand Down

0 comments on commit 572154c

Please sign in to comment.