fix: @@homebrew@@ placeholder replacement

This commit is contained in:
relikd
2025-09-09 11:19:18 +02:00
parent 5cc0e787ad
commit 26d94d9a4e
2 changed files with 101 additions and 1 deletions

View File

@@ -12,13 +12,22 @@ see [usage](#usage) below.
Copy `brew.py` to anywhere, where it can be found by your shell.
Or add a new path to your `$PATH`.
In your shell config (e.g., `.zprofile`) add
In your shell config (e.g., `.zprofile` or `.bash_profile`) add
```sh
export BREW_PY_CELLAR=$HOME/any/path/you/like
```
Some packages use hard-coded path prefixes (e.g. Python).
For these, you need to create a symlink:
```sh
sudo mkdir -p /opt/homebrew
sudo ln -s $BREW_PY_CELLAR/cellar /opt/homebrew/Cellar
```
## FAQ
### Why this project?