You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It does however not configure $XDG_DATA_DIRS as shown below.
$ brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!Warning: Homebrew's share was not found in your XDG_DATA_DIRS but you have
this variable set to include other locations.
Some programs like `vapigen` may not work correctly.
Consider adding Homebrew's share directory to XDG_DATA_DIRS like so: echo 'export XDG_DATA_DIRS="/home/linuxbrew/.linuxbrew/share:$XDG_DATA_DIRS"' >> ~/.zshrc
The suggestion would be to let the shellenv script also handle the $XDG_DATA_DIRS environment variable, e.g.
if [ -n"$XDG_DATA_DIRS" ];thenexport XDG_DATA_DIRS="/home/linuxbrew/.linuxbrew/share:$XDG_DATA_DIRS"fi
What is the motivation for the feature?
The shellenv script is there to assist the user with the setup of the shell environment. Therefore it might be sensible to also let it handle the $XDG_DATA_DIRS environment variable.
How will the feature be relevant to at least 90% of Homebrew users?
This feature only affects Homebrew users on Linux.
What alternatives to the feature have been considered?
Keeping the situation as it is, i.e. not setting $XDG_DATA_DIRS in the shellenv script.
The text was updated successfully, but these errors were encountered:
Verification
brew install wget
. If they do, open an issue at https://github.com/Homebrew/homebrew-core/issues/new/choose instead.Provide a detailed description of the proposed feature
It would be nice if the command below would set up everything needed on Linux.
It does however not configure
$XDG_DATA_DIRS
as shown below.The suggestion would be to let the
shellenv
script also handle the$XDG_DATA_DIRS
environment variable, e.g.What is the motivation for the feature?
The
shellenv
script is there to assist the user with the setup of the shell environment. Therefore it might be sensible to also let it handle the$XDG_DATA_DIRS
environment variable.How will the feature be relevant to at least 90% of Homebrew users?
This feature only affects Homebrew users on Linux.
What alternatives to the feature have been considered?
Keeping the situation as it is, i.e. not setting
$XDG_DATA_DIRS
in theshellenv
script.The text was updated successfully, but these errors were encountered: