Comments (6)
We can't do this now without breaking backwards compatibility.
People/places who care about XDG_CONFIG_HOME
already set it and we respect it. If we don't: that's a bug. We're permanently a macOS package manager where freedesktop.org standards do not apply.
Passing on this, sorry.
from brew.
See related discussion at #15787 (comment).
from brew.
We can't do this now without breaking backwards compatibility.
If you were still looking for $HOME/.homebrew/brew.env
if the other file didn't exists, how would that break backward compatibility? The only scenario I can think of is if someone has a $HOME/.config/homebrew/brew.env
but hasn't set $XDG_CONFIG_HOME
, which wouldn't make much sense.
from brew.
People/places who care about
XDG_CONFIG_HOME
already set it and we respect it
I think most people don't set $XDG_CONFIG_HOME
if they are using the default $HOME/.config
, but will still infer they are using it as it's part of their system.
from brew.
Passing on this, sorry
@MikeMcQuaid I'd like you to reconsider this.
from brew.
It's not just brew.env
that uses this location, it's also used by HOMEBREW_LIVECHECK_WATCHLIST
too.
.config/
is not widely used on macOS and we're primarily a macOS package manager.
Adding a separately default location for Linux for these two files only in cases where the user or the system doesn't set XDG_CONFIG_HOME
makes the code and documentation unnecessarily complex.
If you care: set XDG_CONFIG_HOME
. If you don't: just use our default locations.
Alternatively, convince every other project I use that uses a ~/.something
e.g. RubyGems, rbenv, nodenv, npm, pyenv, Bash, ZSH, etc. to go use .config
instead and, when they all do, we might too.
from brew.
Related Issues (20)
- Add new url scheme for the GitDownloadStrategy
- `eval "$(/usr/bin/env brew shellenv)"` causes duplicate `path`, `man path`, `info path` HOT 4
- `brew tests` should pass with `homebrew/core` untapped HOT 4
- Remove `FormulaTextAuditor`. HOT 3
- Documentation is replaced by auto-generated RBI comments. HOT 6
- sha256 :no_check broken from April 25 commit HOT 5
- Some packages may send user data to China HOT 8
- Addition of cmake flag FETCHCONTENT_FULLY_DISCONNECTED=ON breaks formulas HOT 4
- `brew --repo homebrew/core` prints `/opt/homebrew` not `/opt/homebrew/Library/Taps/homebrew/homebrew-core` HOT 1
- psql Library not loaded: /usr/local/lib/libpq.5.dylib HOT 11
- `brew leaves --installed-as-dependency` blows up with a stack trace HOT 4
- test resources is not found by brew HOT 8
- Nushell support HOT 6
- Brew link fails intermittently on MacOS Sonoma HOT 6
- Casks can fail to load when source file path is nil HOT 5
- `brew cleanup` breaks ruby gems downloaded by bundler from git source HOT 2
- Add `test` tag support for `resource`s HOT 1
- docs.brew.sh/Manpage does not wrap text properly on mobile HOT 3
- `brew migrate` doesn't recognise migrations to API taps HOT 3
- Verbose option stopped working (`-v` shows version, `--verbose` unknown command) HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from brew.